-
Notifications
You must be signed in to change notification settings - Fork 4k
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
dotnet watch is not picking up changes on .cshtml files using Razor Pages #67243
Comments
Even after cleaning up all unnecessary using statements in my codebase I still get the same behavior with this in the log file which I have no control over
|
I have narrowed down at least one issue to an ASP.NET Core Minimal API endpoint with a method parameter with a default value. See the attached sample project. Running Remove line 18 in Program.cs and run again and hot reload will start working. Even keeping line 18 in Program.cs and removing the Hopefully this is helpful to narrow down the issue |
Never mind, it's an issue with anonymous delegates #57295. |
I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label. |
The compiler crashes (NRE) in
See test |
Describe the bug
I have
dotnet watch
running, and when I edit and save a.cshtml
file it detects the file change but then reports no changes to apply.I have to kill
dotnet watch
and restart to pickup my changes.I have a
Microsoft_CodeAnalysis_EditAndContinue_LogDir
set and I get aBlocked
update status, but the only error I get isThe using directive for 'XXX' appeared previously as global using
.Here is the full log with project information removed
Further technical details
dotnet --info
The text was updated successfully, but these errors were encountered: