Pre-build event to include files in project
I run a pre-build event to copy files to my project's folder (ProjectX). I need to include these files as content files in ProjectX, so that when built, it is seen as part of ProjectX's output or content.
ProjectX is then included in a setup project to be deployed, so the files copied to 开发者_JS百科ProjectX must also be included in the setup project (as "Content files from ProjectX").
Any suggestions?
There are ways (using DTE), but I ended up going the WIX route to include files from other sources.
精彩评论