Alex Rivera | Logout

Folder not uploading with VS Publish / Web Deploy

Asked 2011-04-19T09:48:29.517
13

I am using the Publish / Web Deploy option within VS 2010 to publish my ASP.NET MVC3 website.

However it does not by default publish my "files" folder that I have highlighted below.

enter image description here

Any ideas how I can get this file included during publishing?

Thanks Paul

Edit
Report

1 Answer

29

Within the Visual Studio Solution Explorer you need to right-click and select properties on each of the files within that directory (you can select them all at once and then right-click -> properties if you want to change them all).

Make sure the Build Action is set to Content. This will ensure that the files are copied as part of the publish process.

answered 2011-09-02T15:39:42.807

Your Answer