Open
Description
Is there an existing issue for this?
- I have searched the existing issues
Describe the bug
ASP.NET Core 2.1 Razor Class Library was displayed correctly. However, when I updated to ASP.NET Core 2.3, I got a 404 Not Found.
Expected Behavior
I want to create a Razor Class Library in ASP.NET Core 2.3 as well as ASP.NET Core 2.1.
Steps To Reproduce
see https://gitlab.com/masakura/aspnet-core-23-samples/-/tree/master/RazorClassLibrary
- Creating a Web Application Project with Razor Class Library in ASP.NET Core 2.1
- Run the project and verify that the Razor page of the RCL is displayed
- Upgrade both projects to ASP.NET Core 2.3
- 404 Not Found
Exceptions (if any)
Downgrading the Microsoft.AspNetCore.Mvc
package reference in the Razor Class Library to 2.1.3 works. As follows.
<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.Mvc" Version="2.1.3" />
<PackageReference Include="Microsoft.AspNetCore.Mvc.RazorPages" Version="2.3.0" />
</ItemGroup>
.NET Version
.NET Framework 4.6.2 and .NET SDK 9
Anything else?
No response