Reputation: 50468
When "Publish[ing] Website" from Visual Studio 10 to IIS7.5, I find that some of the relevant font files for my site are left behind and not pushed out to the server.
How do I make sure that the files are properly copied over? Is there a setting that forces files to be copied over?
Upvotes: 3
Views: 1725
Reputation: 1075
Besides the case by case inclusion of these files, there are scripts available to configure VS to deploy these values by default
Here is the case by case article http://blog.andreloker.de/post/2010/07/02/Visual-Studio-default-build-action-for-non-default-file-types.aspx
Here is a generator of a config file to do this be default (referenced in above article) http://tools.andreloker.de/dbag
Upvotes: 2
Reputation: 28338
Yes, you specify a Build Action of "Content" for whatever files you want included when published. By default, unknown files types have a build action of "None" and publishing skips them.
Upvotes: 9