Groups | Blog | Home
all groups > visual studio .net general > february 2006 >

visual studio .net general : VS 2005 Projects and Macros for Property Pages



Mitch Gallant
2/20/2006 7:52:59 AM
Simple starter question (since I only used Visual Studio 6):

In VS 2005 Tools | Options | Projects and Solutions
under the VC++ Directories, Executable files etc..,
all the configuration paths are specified as Macros for
properties that expand into strings, such as:
$(FrameworkSDKDir)bin

Is there a simple way to expand these (and other fixed Macros) to show the
full paths? Are these Macro values just the environment variables?

- Mitch

Mitch Gallant
2/20/2006 11:00:39 AM
Thanks Carlos,
I wasn't referring to accessing that information programatically, but
simply MANUALLY ...
There has GOT to be an easy way to do that! manually.
I would have thought that Right-Clicking an entry in the listings
would have presented an option to "Expand macro string" or
something like that.

-- Mitch

[quoted text, click to view]

Carlos J. Quintero [VB MVP]
2/20/2006 4:19:04 PM
Maybe there is a way in VS 2005 using the VS 2005 SDK, the
IVsPathVariableResolver interface, ResolvePath method, but it is not easy
and I couldn´t make it work, so you can try with the environment variables.

--

Best regards,

Carlos J. Quintero

MZ-Tools: Productivity add-ins for Visual Studio
You can code, design and document much faster:
http://www.mztools.com


"Mitch Gallant" <jensigner@community.nospam> escribió en el mensaje
news:e0TkYyhNGHA.1192@TK2MSFTNGP11.phx.gbl...
[quoted text, click to view]

Mitch Gallant
2/20/2006 7:13:59 PM
After reading docs, I see that most of these Directories are specified through
environment-variable macros:
[quoted text, click to view]
v-garych NO[at]SPAM online.microsoft.com (
2/21/2006 12:00:00 AM
Hi Mitch,

You can also find those Macro directories inside Visual Studio 2005 IDE.

Just open the Project property pages of one VC++ project, then look into
any specific setting entry which defines a file or directory name, and
click to edit it<edit...>. The IDE will popup a dialog for you to input, if
there is an "Macro>>" button in it, click that button to open a Macro
directories list.


Thanks!

Best regards,

Gary Chang
Microsoft Community Support
======================================================
PLEASE NOTE the newsgroup SECURE CODE and PASSWORD will be updated at 9:00
AM PST, February 14, 2006. Please complete a re-registration process by
entering the secure code mmpng06 when prompted. Once you have entered the
secure code mmpng06, you will be able to update your profile and access the
partner newsgroups.
======================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from this issue.
======================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
======================================================
Mitch Gallant
2/21/2006 8:13:11 AM
Exactly what I was looking for. THANKS.
Is there any faster route to invoking that Macros>> dialog box?
- Mitch Gallant

[quoted text, click to view]

v-garych NO[at]SPAM online.microsoft.com (
2/22/2006 12:00:00 AM
Hi Mitch,

[quoted text, click to view]

I am afraid I don't have any other good idea, it appears you need to open a
VC++ project property pages to invoke it. :(

Thanks for your understanding!


Best regards,

Gary Chang
Microsoft Community Support
======================================================
PLEASE NOTE the newsgroup SECURE CODE and PASSWORD will be updated at 9:00
AM PST, February 14, 2006. Please complete a re-registration process by
entering the secure code mmpng06 when prompted. Once you have entered the
secure code mmpng06, you will be able to update your profile and access the
partner newsgroups.
======================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from this issue.
======================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
======================================================
AddThis Social Bookmark Button