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

[BUG] #737

Open
kuh0005 opened this issue Jul 19, 2024 · 0 comments
Open

[BUG] #737

kuh0005 opened this issue Jul 19, 2024 · 0 comments
Assignees
Labels
bug Something isn't working question Further information is requested

Comments

@kuh0005
Copy link

kuh0005 commented Jul 19, 2024

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):

  • OS: Microsoft Windows Pro 11, 23H2
  • Visual Studio version [Pro 2019 16.11.38 | Pro 2022 17.10.4]
  • TwinCAT3 version [eg. 4024.55]

** 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]

@kuh0005 kuh0005 added bug Something isn't working question Further information is requested labels Jul 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants