Jump to content
  • Advertisement
Sign in to follow this  
Decept

Visual Studio custom project wizard

This topic is 3633 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I'm currently working on a custom project wizard in VS2005 for my game engine. It's my first attempt on such a thing and it was going quite well. But I have now stumbled upon a problem. Normally, all the files that are to be copied to a wizard created project are listed in templates.inf. This will not work for me. I have a bunch of resource files (80) distributed over several sub directories, multiple levels deep. I need a way to automatically copy every file in that directory tree. I found the "Directory" class on MSDN and wrote a function that will recursivly enter every sub directory and copy the files. However, for some reason it will not work. Here is an example I found: http://msdn.microsoft.com/en-us/library/07wt70x2.aspx When I try to use anything from the example code it always fails somewhere. It won't accept the "import" lines or the "for(var i : int in fileEntries)" and it complains that it doesn't know what "Directory" is, probably because I couldn't use "import". I've searched around for hours, trying to find some more info, without success. Is anyone here familiar with this project wizard thing?

Share this post


Link to post
Share on other sites
Advertisement
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!