-
Notifications
You must be signed in to change notification settings - Fork 10.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hot reload still not working for cshtml #39508
Comments
Hello @TanayParikh, issue #38809 seems to be all about projects that include Blazor. This is just a vanilla ASP.NET Core MVC app. |
@sbsw I'm afraid hot reload requires .NET 6 (so, target net6.0). |
That gem of wisdom is seriously not obvious. Now that the UI has a "hot reload" button, something in the vicinity of that button needs to look at the project(s) and prominently warn if some project settings (such as the target) need to be changed for Hot Reload to actually work. |
Thanks for the feedback @sbsw. Would you mind filling a VS issue (Report a Problem dialog in VS) with that feedback so it may be directed to the appropriate team. |
This issue has been resolved and has not had any activity for 1 day. It will be closed for housekeeping purposes. See our Issue Management Policies for more information. |
Is there an existing issue for this?
Describe the bug
Changing and saving code in a cshtml does not affect the HTML displayed in the debug session browser window. This seems to be the same issue as issue #36098, which appears to be closed/resolved.
Expected Behavior
If I run an ASP.Net MVC (net5.0) app under debug and I change the cshtml view code for the current page, the changes should be visible on that page.
Steps To Reproduce
Expected Behavior:
Welcome text changes
Actual Behavior:
Welcome text does not change
Other things I've tried
Exceptions (if any)
No response
.NET Version
6.0.101
Anything else?
Visual Studio version:
Microsoft Visual Studio Professional 2022 (64-bit)
Version 17.0.5
The text was updated successfully, but these errors were encountered: