-
Notifications
You must be signed in to change notification settings - Fork 10.1k
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
Changing CSS in RCL forces app restart when using BlazorWebView #42871
Comments
Might be related to dotnet/sdk#26762 |
Just to add... this was with a stand alone css file under the wwwroot folder inside the RCL. |
Related to dotnet/maui#7479? |
@TanayParikh I am giving this to you since you have more context. |
@jburman can you please confirm if you're still encountering this issue in the latest VS and .NET 7 RC2? If so, please provide information on the exact VS and SDK versions you're using. |
Hi @jburman. We have added the "Needs: Author Feedback" label to this issue, which indicates that we have an open question for you before we can take further action. This issue will be closed automatically in 7 days if we do not hear back from you by then - please feel free to re-open it if you come back to this issue after that time. |
TLDR: no changes Hi, the original issue I reported was with dotnet watch. I am still seeing the same behavior with .net 7 SDK installed, but I did some additional testing... I just installed VS 17.4.0 Preview 4.0 and have SDK 7.0.100-rc.2.22477.23. I also updated my test project to net7.0-windows.
For what it's worth, I also have VS 17.3.6 Enterprise installed and I rolled the projects back to .net 6 and they behave the same as above. |
Thanks @jburman. Just to confirm, are you seeing dotnet/maui#9197 by any chance? I would've expected dotnet/maui#9645 to resolve the Save As issue, and I believe 17.4 Preview 4 should have that. I believe @BillHiebert had mentioned this may be related to some of the file locking issues we've been discussing. |
The file lock issues described above are likely a result of https://devdiv.visualstudio.com/DevDiv/_workitems/edit/1659321.
@BillHiebert thoughts on this? |
Closing this out now as there have been many changes in this area and this issue should now be resolved. If you're still experiencing this issue on the latest VS Preview, with the latest SDK, please let us know by either commenting on this issue or creating a new issue should this issue be locked. |
Is there an existing issue for this?
Describe the bug
Scenario: Running WinForm app with dotnet watch. App has all Blazor components and resources in a Razor Class Library.
Hot reload works with component changes, but changes to .css files are detected as rude edits and forces the app to restart.
Expected Behavior
Css changes should be hot-reloaded instead of restarting app.
Steps To Reproduce
Create WinForms hybrid blazor app, reference an RCL with .css file and run from command line with dotnet watch.
Exceptions (if any)
No response
.NET Version
6.0.301
Anything else?
No response
The text was updated successfully, but these errors were encountered: