cake-contrib / cake-contrib/Cake.Recipe

Display .NET SDK version

Open
#994 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
70
Forks
51
PR merge metrics
No merged PRs in 30d

Description

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](https://learn.microsoft.com/en-us/dotnet/core/porting/versioning-sdk-msbuild-vs).

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.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at the Cake.Recipe DotNetCore-Build output that currently reports the MSBuild version and review how its build information is produced. Run the relevant recipe and verify that the output includes the .NET SDK version from dotnet --version; optionally compare additional details with dotnet --info.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
build-system
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.