Kinook Software Forum

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

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 03-01-2023, 09:58 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
To locate Team Foundation w/ VS 2022, Visual Build

1) Attempts to load the VS binary registry file by
a) Looking for <CSIDL_LOCAL_APPDATA>\Microsoft\VisualStudio\17.0_ *\privateregistry.bin
b) Opening the file (but this will fail if VS is running due to file in use)
c) Looking in the registry file for SOFTWARE\Microsoft\VisualStudio\17.0_<key>\Config\ InstallDir
and using if found

If that fails,
2) Look in common known install locations for
a) <CSIDL_PROGRAM_FILES>\Microsoft Visual Studio\17.0\Enterprise\Common7\IDE\devenv.com
b) <CSIDL_PROGRAM_FILES>\Microsoft Visual Studio\17.0\Professional\Common7\IDE\devenv.com
c) <CSIDL_PROGRAM_FILES>\Microsoft Visual Studio\17.0\Community\Common7\IDE\devenv.com

3) if found, uses the path combined with
a) CommonExtensions\Microsoft\TeamFoundation\Team Explorer\tf.exe
or
b) tf.exe
and uses if found

You could also use the Visual Build object model to update the Exe step property for all Team Foundation actions in your project to the correct path. See attached (right-click on the Script step and Rebuild Selected).
Attached Files
File Type: bld vs.bld (1.4 KB, 2828 views)
Reply With Quote
 


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:21 AM.


Copyright © 1999-2023 Kinook Software, Inc.