Wednesday, February 10, 2010

Publishing PDF's from Visual Studio 2008

Here's something that annoyed me for a while. In VS2008 even when you include PDF's in the solution, when you hit publish, it doesn't copy them to the destination.

Here's how to fix it.

In the Solution Explorer, right-click the file and select Properties.
In the Properties window change Build Action to "Content"
Change Copy to Output Directory to "Copy always".

Done!

*Hint you can select multiple files but you cannot select a folder.

0 comments:

Post a Comment