Visual studio dotnet watch运行不';t使用Visual Studio Community 2019检测文件更改

Visual studio dotnet watch运行不';t使用Visual Studio Community 2019检测文件更改,visual-studio,.net-core,Visual Studio,.net Core,我有以下launchSettings.json来构建我的项目,运行它并监视文件更改: { “$schema”:”http://json.schemastore.org/launchsettings.json", “概况”:{ “构建和监视”:{ “命令名”:“项目”, “commandLineArgs”:“观看跑步”, “工作目录”:“$(ProjectDir)”, “启动浏览器”:正确, “应用程序URL”:https://localhost:5001;http://localhost:500

我有以下launchSettings.json来构建我的项目,运行它并监视文件更改:

{
“$schema”:”http://json.schemastore.org/launchsettings.json",
“概况”:{
“构建和监视”:{
“命令名”:“项目”,
“commandLineArgs”:“观看跑步”,
“工作目录”:“$(ProjectDir)”,
“启动浏览器”:正确,
“应用程序URL”:https://localhost:5001;http://localhost:5000",
“launchUrl”:“招摇过市”,
“环境变量”:{
“ASPNETCORE_环境”:“开发”
}
}
}
}
不幸的是,使用VisualStudio调试器以这种方式启动的dotnet似乎无法检测文件更改。这很奇怪,因为我在另一台机器上使用相同的配置文件,它确实可以工作,而且当我从终端手动启动dotnet watch时,它也可以工作

VisualStudio会发生什么事情,它无法检测到我的文件更改