英文:
Windows Terminal Not showing all .net SDKs
问题
I have a set of projects which build okay within Visual Studio 2022.
When using a build script from Windows Terminal 1.16.... it fails to recognise the SDKs and only shows 6.0 (see below).
dotnet --list-sdks
6.0.307 [C:\Program Files (x86)\dotnet\sdk]
How to I get Windows Terminal to see the installed versions of .net?
英文:
I have a set of projects which build okay within Visual Studio 2022.
When using a build script from Windows Terminal 1.16.... it fails to recognise the SDKs and only shows 6.0 (see below).
dotnet --list-sdks
6.0.307 [C:\Program Files (x86)\dotnet\sdk]
How to I get Windows Terminal to see the installed versions of .net?
答案1
得分: 1
解决方法是将64位dotnet目录的路径放在32位版本之前,然后我可以看到所有的.NET版本。
英文:
The solution is to put the path for the 64 bit dotnet directory in the path higher up the 32 bit version, and then I see all the .net versions.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论