_This issue has been moved from a ticket on Developer Community._
(Regression)
(worked-in:16.1)
Start debugging by F5 Re-modifying the contents of the .cshmtl page The contents of the browser will not be updated... Previous versions don't have this problem...
We have directed your feedback to the appropriate engineering team for further evaluation. The team will review the feedback and notify you about the next steps.
Thank you for sharing your feedback! Our teams prioritize action on product issues with broad customer impact. See details at: https://docs.microsoft.com/en-us/visualstudio/ide/report-a-problem?view=vs-2017#faq. In case you need answers to common questions or need assisted support, be sure to use https://visualstudio.microsoft.com/vs/support/. We鈥檒l keep you posted on any updates to this feedback.
(no solutions)
Thanks for contacting us. Can you please provide more details about what project are you using and share the project file?
Hi. We're closing this issue as we have heard no response from you for some time now. If you have more details and are encountering this issue please add a new reply and re-open the issue.
I'm facing this issue too. My solution is based on .NET Core 3.x. In my case I found that the updates applied to .cshtml files work only on "Start Without Debugging", useful for now but not ideal for debugging. Both the Start(with debugging) from kestrel(console) and IIS have this issue.
Here's the Solution and Project file:
collanon.zip
Thanks @thepra. Bringing this up for triage on monday. In the meantime, can you please host your projects as a github repo, as it's much simpler that way to look into the code and navigate
Mmmmm, it's more of a closed source web app(already running as collAnon) than an open source project.
But still I could open up some non-business-core pieces like Startup.cs or Program.cs, etc. in a new project if it can help, just let me know.
To enable runtime-compilation it's now required to use a special NuGet package. You can read more about how to enable runtime-compilation here: https://docs.microsoft.com/en-us/aspnet/core/mvc/views/view-compilation?view=aspnetcore-3.0#runtime-compilation
To enable runtime-compilation it's now required to use a special NuGet package. You can read more about how to enable runtime-compilation here: https://docs.microsoft.com/en-us/aspnet/core/mvc/views/view-compilation?view=aspnetcore-3.0#runtime-compilation
Ok... but should I isolate it like this?
#if DEBUG
.AddRazorRuntimeCompilation()
#endif
because adding runtime compilation in Release/Production doesn't make that much sense. 馃
@thepra That sounds like a valid solution.
We are closing this issue as it has been handled.