Images in Razor Class Library

2019-04-11 12:48发布

Is it possible to use images and other file types such as css/js/etc. in a Razor Class library? I'm having an issue trying to get the images and css in the Razor Class Library to show up in a .Net Core 2.1 MVC application.

We used to use the File Provider and a C# class library but I feel like the Razor Class Library should be able to accomplish this now by simply adding a reference to the library in a project.

0条回答
登录 后发表回答