0

Possible Duplicate:
Include folder in setup project

I have a VS2010 C# solution that uses a file structure like this:

/

/sources

/sources/[projects]

/Assets

/Assets/[multiple assets folders and files]

I'm trying to set up a setup project to deploy the assets folder to the application folder during installation. However, the closest I've gotten was to create a post build event for one of my projects to copy the folder. The thing is that the setup project doesn't take the postbuild copied folder into account when installing.

Can anyone point me to the right way of doing this? Adding the assets folder to one of my project is not an appropriate solution because it actually copies the folder, creating two copies. Thank you.

Community
  • 1
  • 1
anthonyvd
  • 7,329
  • 4
  • 30
  • 51
  • Your post is not very clear. Adding the folder to your setup project is the correct solution. But you mention two copies. What's the other copy? Who creates it and where? – Cosmin Sep 20 '11 at 06:48

1 Answers1

0

I ended up using the following method:

right-click on the setup project, select View > File System

drag the assets folder on top of the Application's folder

And voilà!

anthonyvd
  • 7,329
  • 4
  • 30
  • 51