I am developing an ASP.NET MVC web application. To run it, I use the following shell commands:
dotnet restore ProjectDirectory
and then
dotnet run --project ProjectDirectory
But I have noticed it doesn't react on changing the code in my project. To check that, I added an alert into a script and re-compiled the project. No alert was displayed. I also tried adding a label into one of my views. No label.
What I have tried
Checked my code editor (VS Code) really writes changes to the files. I opened the script where I have inserted an
alertin Notepad.alertwas there.Re-compiled project three times. No effect.
Made some research in the Internet (including Stack Overflow). I couldn't find anyone with the same problem.
Now I have asked a question and hope someone can see a possible reason why it doesn't work.