I am developing a asp.net core web application in visual studio 2015 update 3.
Every time i have to check for the update in browser i have to either F5 the app which takes time or if i run "start without debugging" i get build error of unable to access "aspnet core identity dll" that is used by some process.
In asp.net mvc app i could just build app and then check in browser without having to F5 or Ctrl F5 which takes time.
Is there any way i could just make changes in code then just build app and check in browser rather than to run in debug mode ?
The Debug: Run (Start Without Debugging) action is triggered with Ctrl+F5 and uses the currently selected launch configuration.
You can run it, from the console, by calling dotnet run from the folder that contains the project. json file. On your local machine, you can prepare the application for deployment by running "dotnet publish". This builds the application artifacts, does any minification and so forth.
Microsoft created a "watch" tool that you can add to your project.json
which enables you to start the backend code in "watch mode"...
Microsoft.DotNet.Watcher.Tools
to the tools
section of the project.json
file.dotnet restore
.dotnet watch run
Then for your frontend code you can do as suggested by Michel Amorosa
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With