-
Notifications
You must be signed in to change notification settings - Fork 10.3k
Views from RCL not found after app rebuild in preview 6 #11315
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
Comments
@mkArtakMSFT picking this up since it's kinda bad. |
Filed #11389 to track verifying this for the preview7 release. |
Thanks! |
Thank you! Any idea when preview7 is targetted to drop? |
The preview cadence is monthly. I'm working on another SDK fix in this area, but if it's super problematic, you could consider patching your SDK locally or grabbing a preview7 build from https://github.com/dotnet/core-sdk |
Thanks for the info, I also noticed that when I have a project referenced to an RCL project and I edit my razor pages in the main project that I have to stop and restart the project for the changes to be served. Will this address that scenario as well? |
Do you have runtime compilation enabled - https://docs.microsoft.com/en-us/aspnet/core/mvc/views/view-compilation?view=aspnetcore-3.0#runtime-compilation? Also with the most recent VS preview release, changes to cshtml files (in the main app) should auto rebuild your application. |
Thank you, wasn’t aware of that one! Just switched from VS preview to release and went to 3.0 preview at the same time and didn’t realize VS preview was doing things for me before. |
Describe the bug
Hello. After update to preview6 views from RCL works only for clean app build. After app rebuild views can't be found.
To Reproduce
Steps to reproduce the behavior:
dotnet run
insrc/app
https://localhost:5001/test
in browserHello, world!
src/app/Controllers/TestController.cs
dotnet run
againhttps://localhost:5001/test
After
dotnet clean
next run will work.Expected behavior
Page open successfully.
Screenshots
First run:

Second run:

Additional context
The text was updated successfully, but these errors were encountered: