Click to See Complete Forum and Search --> : Handling projects


Astorni
June 22nd, 2007, 04:08 AM
I am much more comfortable with a command line than with an integrated development environment like Visual Studio.
One thing I can't understand: how to handle my projects.
For instance, how do I completely rename a project?
How do I make a backup of it? Do I just need the files that are in the directory I specify, or is there some important setting etc somewhere else?

SuperKoko
June 22nd, 2007, 08:29 AM
AFAIK, Visual Studio projects are vcproj files.
Typically, you create them in the project directory, which contains source files or a src subdirectory with source files in it.

This file contains a list of relative or absolute paths to the project source files (.c, .cpp, .rc, .def, etc.) as well as a bunch of options.
pch files are precompiled headers and may safely be removed.

If the project has been correctly creates (with relative paths and not absolute paths), you should be able copy the project directory without any problem.

For more information, edit with your favorite text editor (e.g. notepad.exe) the .vcproj file.

It looks like it's a human readable XML file.
Not sure, but that may help you:
http://msdn2.microsoft.com/en-us/library/3awe4781(VS.80).aspx


Personally I never used Visual Studio, so the information I gave may be inaccurate.

Maybe a moderator should move this thread to the Visual C++ forum.