Microsoft Visual Studio.NET IDE Help Required
-
Hi, can any one please help me how to update the VC++ Directories in the Options Dialog->Projects Using the EnvDTE namespace or by anyother method...using the programming interface exposed by Studio.NET thankx in advance waiting!
-
Hi, can any one please help me how to update the VC++ Directories in the Options Dialog->Projects Using the EnvDTE namespace or by anyother method...using the programming interface exposed by Studio.NET thankx in advance waiting!
AFAIK thats stored on a per-solution basis in the solution file. Maybe that will help :) top secret xacc-ide 0.0.1
-
AFAIK thats stored on a per-solution basis in the solution file. Maybe that will help :) top secret xacc-ide 0.0.1
Thanks but i couldnt find this information (i.e include paths) in the vcproj or sln files, by the way i need to have it done through C# and i want it to be globally set that is the directories i add should be permenantly added to the Visual Studio.NET IDE....... anyone please help..... thankx in advance
-
AFAIK thats stored on a per-solution basis in the solution file. Maybe that will help :) top secret xacc-ide 0.0.1
For Tools->Options->Projects it's actually stored in the registry.
Software Design Engineer Developer Division Sustained Engineering, Microsoft My Articles
-
Thanks but i couldnt find this information (i.e include paths) in the vcproj or sln files, by the way i need to have it done through C# and i want it to be globally set that is the directories i add should be permenantly added to the Visual Studio.NET IDE....... anyone please help..... thankx in advance
As with most things, this is actually stored in the registry. Take a look at the HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\Version\VC\VC_OBJECTS_PLATFORM_INFO\Win32\Directories key. You may need to restart the environment (the IDE) after changing that, however. To access this programmatically, if you look in the MSDN Online Library[^] you will find the
VCPlatform
object, which exposes those directories as properties. This is not in the EnvDTE.dll assembly, however. You must reference Microsoft.VisualStudio.VCProjectEngine.dll. IIRC, you should be able to cast (performs aQueryInterface
on the COM component) from aProject
object defined in the EnvDTE.dll assembly.Software Design Engineer Developer Division Sustained Engineering, Microsoft My Articles