ASP.NET: Publishing Website doesn't publish Resources folder

后端 未结 4 1247
野的像风
野的像风 2021-01-02 07:49

I have a website that I\'m developing with ASP.NET. I\'m using Visual Studio 2015. When I right-click and hit publish website the site publishes correctly except that my res

4条回答
  •  忘掉有多难
    2021-01-02 08:11

    Steps to add resources to be published (Visual Studio 2017):

    1) Right click the resources folder and select "Include In Project"

    2) Now you should see Build Action: Content on the properties for the images.

提交回复
热议问题