-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Feature request: dotnet --info should include language versions #9214
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
Comments
This information is typically included in the .NET Core release notes. For example: https://docs.microsoft.com/en-us/dotnet/core/whats-new/ Also, I found a roundabout way of getting the information (provided with path specific to a version of .NET Core): Relates to this SO thread. |
@BillWagner I think this is a very reasonable idea, but I think it should be in the next version after 2.1.300, which is 2.1.400. I think we're too close to be making changes, particularly in a part of the product that spans two pieces (although this is just in the SDK, part is in the host) and that I think is localized. In 2.1.400 we want to take a deeper look at how we communicate the state of their system to users. This is a great addition to that conversation, so I'd like to leave this issue open on the CLI. If we look at these versions, I think we should also look at MSBuild and NuGet among others. From an engineering perspective, we're going to have to find a super automated way to get this information, because the wrong information would be worse than no information. |
Due to lack of recent activity, this issue has been labeled as 'stale'. It will be closed if no further activity occurs within 30 more days. Any new comment will remove the label. |
For this kind of JSON structure: [
{
"sdkPath": "...",
"languages": [
{
"language": "C#",
"languageVersions": ["...", "..."]
},
{
"language": "VB",
"languageVersions": ["...", "..."]
},
{
"language": "F#",
"languageVersions": ["...", "..."]
}
]
}
...
] Here is a C# program which shells out to
|
Currently there is no good way for users to determine which managed language versions are included with each release of the .NET Core SDK.
Ideally,
dotnet --info
should include the versions of the C# compiler and VB compiler delivered with that SDK.This was originally reported as part of dotnet/docs#4154
/cc @jcouv @KathleenDollard
The text was updated successfully, but these errors were encountered: