Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Display .NET SDK version #994

Open
Jericho opened this issue Nov 22, 2023 · 1 comment
Open

Display .NET SDK version #994

Jericho opened this issue Nov 22, 2023 · 1 comment

Comments

@Jericho
Copy link
Member

Jericho commented Nov 22, 2023

It would be great for Cake.Recipe to display info about the version of .NET SDK being used.

Currently, the only clue we have is the MSBuild version like in this example:

========================================
DotNetCore-Build
========================================
Building Source/Cake.Email.Common.sln
MSBuild version 17.8.3+195e7f5a3 for .NET

and then we have to figure out what version of .NET SDK corresponds to 17.8.3 by looking it up here.

What I would like to see, is the result of the dotnet --version command. Bonus points if we get additional info similar to what we get when running the dotnet --info command.

@Jericho
Copy link
Member Author

Jericho commented Nov 22, 2023

For the time being, I added the following in my appveyor.yml:

before_build:
  - dotnet --info

This gives me the info I want when my build is running on AppVeyor but I still think it would be beneficial to add this to Cake.Recipe.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant