Deploy content to specific folder

  • Thread starter Thread starter Elisa
  • Start date Start date
E

Elisa

Hi,

In Visual Studio .NET 2003, my Solutions Explorer window, I have the
following tree:

MyProject
|->img
| |->MyImage1.bmp
| |->MyImage2.bmp
|->MyClass.vb

However, if I deploy, everything is dumped in the same folder
(MyProject). How do I tell VS to deploy the files with the folder
structure intact?


Regards,

Elisa
 
This is a limitation currently. One alternative is to create a separate
project within your solution solely for your content files - setting the
deployment path to your subfolder app (path\img) and the project can deploy
alongside your application placing content files in the appropriate location
(ensure the target device is the same for both projects). This could become
awkward if your folder structure relies on a number of different content
folders - each project deploys only to a single folder.

Peter
 
Back
Top