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删除即可

posted @ 2021-11-18 21:41  rookiexwang  阅读(1965)  评论(0编辑  收藏  举报