Vc proj item data

Hi, In a VS2005 vcproj project there is the <File> Item. Where can i find

list of the various fields this has. ie i want to use Absolute path instead

of 'RelativePath' can this be done?

[213 byte] By [GW_74] at [2007-12-28]
# 1

Hi,

The only allowed attributes for File are: RelativePath and FileConfiguration. Additional details you can find in the vcproj file schema that is available here:

res://[Visual Studio 8 installation folder]\VC\vcpackages\VCProjectEngine.dll/SCHEMA/VCProjectFileSchema.xsd

All files added to a project are referenced using their relative path and this is by design. Hence a project is not dependent on its current location. This saves a lot of headaches when moving it in a different location on the same machine or on a different machine. The only instance when we don't "relativize" (not in dictionary :) ) the path of an added file is when that file is on a different drive than the project.

Hope this helps,
Marian Luparu
Visual C++ IDE

MarianLuparu at 2007-9-4 > top of Msdn Tech,Visual C++,Visual C++ General...