如何显示在 Visual Studio 上创建的 ASP.NET Core Web API 项目上缺少的节点?

问题描述 投票:0回答:1

我安装了 Visual Studio Community 2022,其中包含 ASP.NET 和 Web 开发工作负载以及 .NET 8.0 运行时 (LTS)。

当我在上述模板和 ASP.NET Core Web App (MVC) 上创建项目时,the solution was empty, and the containing folder had missing nodes such as Connected Services, Dependencies and so on

我尝试使用其安装程序重新安装 Visual Studio,尝试打开朋友发送的另一个项目,该项目收到响应“解决方案中的一个或多个项目未正确加载。请参阅输出窗口了解详细信息”。在“输出”窗口上显示“C:\Users\User\Downloads\modelview\modelview.csproj:错误:无法加载项目文件。找不到路径'C:\Users\User\Downloads\”的一部分modelview\modelview.csproj'。C:\Users\User\Downloads\modelview\modelview.csproj"。

asp.net visual-studio asp.net-core asp.net-core-webapi
1个回答
0
投票

nvm 它可能与保存项目文件夹的位置有关,因为我工厂重置了我的电脑并且现在工作正常

© www.soinside.com 2019 - 2024. All rights reserved.