- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Looking through the various help files I have yet to find an easy way to:
1) clone a project? I have a project, I want to clone and rename it. I have been copying it all to new directory, opening it and then File->save project as. Which works. But is there another way?
2) I have a working exe project with many source files/mods/etc. I want to change/try the project as a DLL. There also doesn't seem to be any easy pathway to change the target of an exisiting project (Lookingin the .vfproj i could mess with it andinsert the changes required, but there must be a better/automatic way?
Any tips will be appreciated.
Brian
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The answer really depends on why you need that. Like Steve said, there's no "easy" way to change the target type; more precisely, there is an "easy" way but it's kind of fragile.mchenry@mchenrysoftware.com:
2) I have a working exe project with many source files/mods/etc. I want to change/try the project as a DLL. There also doesn't seem to be any easy pathway to change the target of an exisiting project (Lookingin the .vfproj i could mess with it andinsert the changes required, but there must be a better/automatic way?
Rather than cloning the project, I'd prefer to define a new configuration of the existing one -- just open Build/Configuration manager menu and clone one or more existing configurations (Debug or Release). From then on, you can change the settings of new ones (e.g. DllDebug and DllRelease). Note that you can "exclude file from build" for the individual files on the configuration basis, by changing the switch on the individual file's property sheet (e.g. for the purpose of removing a file containing PROGRAM).
The answer how do you want to change new configuration to a dll depends on what is your existing configuration though. If it's an .exe, (I think) all you have to do is to add /dll switch to the Properties/Linker/Command Line and change the "Output File". If it's a .lib, I don't see an obvious way though -- "messing with the .vfproj" file (helped by some reverse-engineering on a small test project) might as well be the only way.

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page