404 with static content in Razor Class Library (RCL)
问题 I am having difficulties implementing static files in razor class library (.net Core 3.1) that are consumed by an ASP.NET Core (v3.1) application. When trying to access the static files, I only get an 404 - Not Found. I followed the following answer on Stackoverflow: https://stackoverflow.com/a/57874357/1099519 or I also cross-checked with the documentation at: https://docs.microsoft.com/en-us/aspnet/core/razor-pages/ui-class?view=aspnetcore-3.0&tabs=visual-studio#create-an-rcl-with-static