dotnet watch --project <PATH> Visual Studio 2022 中的无限循环

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

我正在尝试按照某些课程创建一个 API,当我尝试转换某种“热重载”时,我遇到了错误。

我输入了

dotnet watch --project <PATH>
(需要路径,因为没有它我会出错),并且我在包管理器控制台中遇到了无限循环->

enter image description here

就这样永远下去。

这是我的项目结构。

enter image description here

c# .net visual-studio api
1个回答
0
投票

我应该瞄准 .csproj 文件 ->

C:\Users\UXXXXXX\skinet\skinet.sln
,而不是针对解决方案
C:\Users\UXXXXXX\skinet\API\API.csproj

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