I have an ASP.NET MVC project that serves static files form its root.
I see that these files are marked as Content
and Do not copy
.
Nevertheless, when I hit run
in VS the static files are served from the root of the project.
I would really like to gather some static resources in a different project, and have them served as well.
I tried to create a class library and reference it from the main project, but files marked as Content
in the class library is not deployed when I hit F5.
Is it possible to serve static files from a different project? If so, how?