You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When cloning a repository template and subsequently compiling it, an exception may occur. The exception arises when multiple versions of VS2019/2022 are installed on the compilation PC in combination with multiple .NET frameworks. The repository does not explicitly specify which framework Visual Studio should use. Defining which .NET framework to use during compilation can be ensured by creating a global.json file at the project/solution level.
Describe the bug
When cloning a repository template and subsequently compiling it, an exception may occur. The exception arises when multiple versions of VS2019/2022 are installed on the compilation PC in combination with multiple .NET frameworks. The repository does not explicitly specify which framework Visual Studio should use. Defining which .NET framework to use during compilation can be ensured by creating a global.json file at the project/solution level.
** Links **
https://learn.microsoft.com/en-us/dotnet/core/tools/global-json
Expected behavior
Compilation will works.
Desktop (please complete the following information):
** dotnet --list-sdks **
6.0.100 [C:\Program Files\dotnet\sdk]
6.0.424 [C:\Program Files\dotnet\sdk]
7.0.404 [C:\Program Files\dotnet\sdk]
8.0.100 [C:\Program Files\dotnet\sdk]
8.0.303 [C:\Program Files\dotnet\sdk]
The text was updated successfully, but these errors were encountered: