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.
Comments
Post a Comment