Irregular 404 error when using Razor Pages from referenced project #11648
Labels
area-mvc
Includes: MVC, Actions and Controllers, Localization, CORS, most templates
✔️ Resolution: Duplicate
Resolved as a duplicate of another issue
Describe the bug
When referencing another ASP.NET Core Web Application and trying to use its Pages, it only works on the first build.
If you change something in the referencing project and hit the run button again you get a 404 error.
The only working solution is to rebuild the referencing project and then hit run.
To Reproduce
a. Create two ASP.NET Core Web Applications (Razor)
a. Remove the Pages Folder from one project and then reference the other (with the pages)
Expected behavior
The Views from the refrenced project (ReusableComponent) should always show up like on the first build.
Additional context
The text was updated successfully, but these errors were encountered: