Core 运行修改后台代码实时编译
程序员文章站
2022-06-12 17:18:43
...
首先引入
<ItemGroup>
<DotNetCliToolReference Include="Microsoft.DotNet.Watcher.Tools" Version="2.0.0" />
</ItemGroup>
第二步完成
"Watch": {
"commandName": "Project",
"executablePath": "C:\\Program Files\\dotnet\\dotnet.exe",
"commandLineArgs": "watch run",
"launchBrowser": true,
"applicationUrl": "http://localhost:5008",
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
}
第三步:运行dotnet watch run 就成功了
上一篇: dbx脚本
下一篇: 学习笔记:input表单