Reputation: 6027
There are a handful of files in my project that do not auto publish with the rest of my project to IIS when there are changes. I have to manually right-click on those files and publish them individually.
I am pretty sure I have done something to cause this because it appears that all of the files that do this have a check-mark next to the file (see layout.cshtml
in the image below). What have I done, and how can I fix it?
Upvotes: 0
Views: 23
Reputation: 20693
Set file Build Action to Content, right Mouse click on file and select Properties in Solution Explorer. Like this:
Upvotes: 1