c# - Build a .NET core application while running Kestrel server -


in classic .net applications, i'd set local iis run specified application. build application , hit endpoint see change immediately. did not need launch debugger every time. want achieve .net core using kestrel server.

i'm able run application running dotnet run command line. however, when try build, files in use , build fails. there development configuration options not lock down files , instead run them needed, allowing me build , test changes immediately?

extending dotnet-cli watcher-tool way go. in short - reference

<itemgroup>   <dotnetclitoolreference include="microsoft.dotnet.watcher.tools" version="1.0.0" /> </itemgroup>  

in .csproj file , run dotnet watch run commandline. that'll allow make changes code automatically recompile.

dotnet-watch


Comments

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

thorough guide for profiling racket code -