Kinook Software Forum

Go Back   Kinook Software Forum > Visual Build Professional > [VBP] Third Party Tools
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 03-24-2005, 07:24 PM
Wayne Wayne is online now
Registered User
 
Join Date: 12-07-2004
Posts: 7
Global macro DEVSTUDIO_NET_DIR is not detected correctly

On a fresh install of Visual Build Pro v.5.7, the global macro: "DEVSTUDIO_NET_DIR" is not set correctly.

It is:
"C:\Program Files\Microsoft Visual Studio.NET 2003"

instead of

"C:\Program Files\Microsoft Visual Studio .NET 2003"

(note the space between Studio and .NET).
Reply With Quote
  #2  
Old 03-24-2005, 08:42 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
Does 'Tools | Application Options | Macros | Reload Predefined Global Macros' help? To initialize the VSTUDIO_NET_DIR macro, VBP looks for the following registry values (which correspond to the values created by the VS.NET 7.1 [2003] and 7.0 [2002] installers, respectively):

HKLM\SOFTWARE\Microsoft\Microsoft Integration\03721D9F-6222-4200-BE0C-531F96AAF9B4\SuiteLocation

HKLM\SOFTWARE\Microsoft\Microsoft Integration\490D3C64-A846-4bcf-A22E-448B5157FA53\SuiteLocation

If neither is found, it defaults to "C:\Program Files\Microsoft Visual Studio.NET 2003" (it's does appear that this default doesn't match the actual default VS.NET 2003 install path, as you noted), but the first entry above should exist and be used to retrieve the actual path if you have VS.NET 2003 installed. Was there anything non-standard about how you installed VS.NET? Does that registry value exist?
Reply With Quote
  #3  
Old 03-24-2005, 08:57 PM
Wayne Wayne is online now
Registered User
 
Join Date: 12-07-2004
Posts: 7
That's the problem, I don't have those 2 registry keys that you mentioned.

I do have this key: "04E753AE-B2B4-4936-8DA2-4BDE702139FF". I have Visual Studio .NET Enterprise Architect 2003, the MSDN version. Nothing special about how I set it up.

Why don't you guys detect the folder from "HKLM\SOFTWARE\Microsoft\VisualStudio\7.1" : InstallDir, and then parse the path?
Reply With Quote
  #4  
Old 03-25-2005, 08:14 AM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
I see. I don't know why we don't look for that registry entry, but it sounds like a good suggestion. Most users probably don't utilize these macros, instead using the Make VS.NET and VS.NET Get Version actions (which locate what they need differently), and I suspect that's why this issue wasn't noticed before. Thanks for the feedback.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



All times are GMT -5. The time now is 09:24 PM.


Copyright © 1999-2023 Kinook Software, Inc.