-
Notifications
You must be signed in to change notification settings - Fork 173
Detect absence of .NET SDK 3.1 and display error message #755
Conversation
…ound (cherry picked from commit 59681e9)
(cherry picked from commit b538b3d)
(cherry picked from commit 28e79dd)
Co-authored-by: Sarah Marshall <33814365+samarsha@users.noreply.github.com> (cherry picked from commit f2cd93b)
Co-authored-by: Sarah Marshall <33814365+samarsha@users.noreply.github.com> (cherry picked from commit de463e0)
Co-authored-by: Sarah Marshall <33814365+samarsha@users.noreply.github.com> (cherry picked from commit 7911bd5)
Co-authored-by: Sarah Marshall <33814365+samarsha@users.noreply.github.com> (cherry picked from commit c19177d)
(cherry picked from commit 283cecd)
(cherry picked from commit 833af12)
…ldLocator (cherry picked from commit 64d7d11)
(cherry picked from commit dc99a4b)
|
@SamarSha, @bettinaheim: this is exactly the same approved PR #753 but now targeting the main branch. |
| "version": "3.1.100", | ||
| "rollForward": "latestFeature" | ||
| } | ||
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should have only one global.json that applies to the compiler repository. Currently, the global.json at the root of the repository also sets the SDK version to 3.1, but it may be updated to support 5 soon. In that case, running dotnet from the LanguageServer folder will require 3.1, but may use 5 when run from any other folder.
Since this global.json is intended to only be used by the language server after it's built and running, is it possible for it to have a different name in the source folder that dotnet won't recognize, but have it be renamed to global.json in the output directory?
This PR mitigates issue #737 by: