vscode新增啟動項目文件報錯:Could not execute because the application was not found or a compatible .NET SDK is not installed


完整報錯如下:
Could not execute because the application was not found or a compatible .NET SDK is not installed.
Possible reasons for this include:
* You intended to execute a .NET program:
The application 'new' does not exist.
* You intended to execute a .NET SDK command:
It was not possible to find any installed .NET SDKs.
Install a .NET SDK from:
https://aka.ms/dotnet-download
問題原因:program file和program file(x86)dotnet命令沖突了
圖片

c:/program file(x86)/dotnet/下的dotnet.exe刪除即可


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM