Simple question: How to add new folder in VS.NET 2003?

B

Bryant Fong

I'm not talking about creating directories or files in the file system.. In
VS.NET, I can create new folders in my "Solution Explorer" pane. I dump
some files into these folders. However, when I build and deploy the
solution onto the PPC emulator, it copies the files "flat" into the root
directory. I want the files to be copied in the same folder hierarchy as
what I set up in VS.NET.

This seems simple but I can't figure out how to do it. Help?
 
P

Peter Foot [MVP]

Visual Studio places all your content files into your program folder. One
solution would be to write a method called on the first run of the program
only to move the files into subfolders.

When you build a CAB file installer for your application you can edit the
INF file (created in the /obj/ sub-folder of your project on disk) and place
content files in more logical subfolders on the device.

This is a limitation of VS.NET and there is no workaround to deploy to
subfolders from the IDE.

Peter

--
Peter Foot
Windows Embedded MVP

In The Hand
http://www.inthehand.com
Handheld Interactive Reference Guides
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top