Monday, 1 October 2012

Adding extra files to a deployment package in Visual Studio 2012

Today i ran into that problem again.
In vs2010 the property "CopyAllFilesToSingleFolderForPackageDependsOn" contains targets, to add files that would go into a publishing package.

In Visual Studio 2012 it is renamed to "CopyAllFilesToSingleFolderForMsdeployDependsOn", it took some time to find the solution, so now i hope to help everyone that got the same problem.

Working Sample

This sample includes all the files from "$(SolutionDir)\files" into the package that can be deployed.