admin管理员组文章数量:1389768
I installed dotnet sdk by using shell script downloaded from here: and set DOTNET_ROOT environment variable.
dotnet --info looks like below;
.NET SDK:
Version: 8.0.407
Commit: cac65f27eb
Workload version: 8.0.400-manifests.20e9918b
MSBuild version: 17.11.26+2b19be476
런타임 환경:
OS Name: endeavouros
OS Version:
OS Platform: Linux
RID: linux-x64
Base Path: /home/username/.dotnet/sdk/8.0.407/
설치된 .NET 워크로드:
새 매니페스트를 설치할 때 loose manifests을(를) 사용하도록 구성됩니다.
표시할 설치된 워크로드가 없습니다.
Host:
Version: 8.0.14
Architecture: x64
Commit: 1584e49360
.NET SDKs installed:
8.0.407 [/home/username/.dotnet/sdk]
.NET runtimes installed:
Microsoft.AspNetCore.App 8.0.14 [/home/username/.dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 8.0.14 [/home/username/.dotnet/shared/Microsoft.NETCore.App]
Other architectures found:
None
Environment variables:
DOTNET_ROOT [/home/username/.dotnet]
global.json file:
Not found
But when I build and run my program on vscode, output says below;
You must install .NET to run this application.
App: /home/username/VSC/LibTest/bin/Debug/net8.0/LibTest
Architecture: x64
App host version: 8.0.14
.NET location: Not found
How to fix dotnet ef tool, .NET Location not found
pac command -> .NET location: Not found
Dotnet 6 dotnet-ef fails after install
I found some questions on stack overflow, but path looks proper.
Is there anything wrong with the settings?
I installed dotnet sdk by using shell script downloaded from here: https://dotnet.microsoft/ko-kr/download/dotnet/scripts and set DOTNET_ROOT environment variable.
dotnet --info looks like below;
.NET SDK:
Version: 8.0.407
Commit: cac65f27eb
Workload version: 8.0.400-manifests.20e9918b
MSBuild version: 17.11.26+2b19be476
런타임 환경:
OS Name: endeavouros
OS Version:
OS Platform: Linux
RID: linux-x64
Base Path: /home/username/.dotnet/sdk/8.0.407/
설치된 .NET 워크로드:
새 매니페스트를 설치할 때 loose manifests을(를) 사용하도록 구성됩니다.
표시할 설치된 워크로드가 없습니다.
Host:
Version: 8.0.14
Architecture: x64
Commit: 1584e49360
.NET SDKs installed:
8.0.407 [/home/username/.dotnet/sdk]
.NET runtimes installed:
Microsoft.AspNetCore.App 8.0.14 [/home/username/.dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 8.0.14 [/home/username/.dotnet/shared/Microsoft.NETCore.App]
Other architectures found:
None
Environment variables:
DOTNET_ROOT [/home/username/.dotnet]
global.json file:
Not found
But when I build and run my program on vscode, output says below;
You must install .NET to run this application.
App: /home/username/VSC/LibTest/bin/Debug/net8.0/LibTest
Architecture: x64
App host version: 8.0.14
.NET location: Not found
How to fix dotnet ef tool, .NET Location not found
pac command -> .NET location: Not found
Dotnet 6 dotnet-ef fails after install
I found some questions on stack overflow, but path looks proper.
Is there anything wrong with the settings?
Share Improve this question edited Mar 17 at 6:37 Ulrich Eckhardt 17.5k5 gold badges31 silver badges60 bronze badges asked Mar 15 at 8:53 DaybreakFlowerDaybreakFlower 113 bronze badges 1- I solved the problem! I uninstalled c# extension in visual studio, and reinstall it. And it works – DaybreakFlower Commented Mar 15 at 9:01
1 Answer
Reset to default 0i thinks vs code error please refresh pc and try again then after its work properly .
本文标签: quotNET location Not foundquot in visual studio codeStack Overflow
版权声明:本文标题:".NET location: Not found" in visual studio code - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1744620262a2615982.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论