Kinook Software Forum

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

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 05-02-2024, 07:11 AM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,027
That was happening in our tests (attached) as well before the fix (when building all configurations, it correctly identified the x86 executable target filenames but not the x64). Please post the project files.
Attached Files
File Type: zip Project1.zip (30.9 KB, 185 views)
Reply With Quote
  #2  
Old 05-08-2024, 05:13 AM
mgampi mgampi is online now
Registered User
 
Join Date: 05-19-2011
Posts: 6
Hello;

Which files do you need in detail?
Only the .vcxproj files or the .sln?
In addition, do you need the VBP build file too?

TIA

Martin
Reply With Quote
  #3  
Old 05-08-2024, 07:06 AM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,027
The .bld file, the .vxcproj file, the .sln (if that is what you're building), and the .rc files in the project.
Reply With Quote
  #4  
Old 05-13-2024, 03:58 AM
mgampi mgampi is online now
Registered User
 
Join Date: 05-19-2011
Posts: 6
Find enclosed the requested files.
Currently we build only the Release|x64 configurations.
Attached Files
File Type: zip SampleProject.zip (83.8 KB, 27 views)
Reply With Quote
  #5  
Old 05-13-2024, 02:21 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,027
Your projects are referencing

$(DefaultPlatformToolset)

which the Make VS action doesn't know about.
Code:
<OutDir>..\..\bin\$(DefaultPlatformToolset)\$(Configuration)\</OutDir>
The value would vary depending on the version of Visual Studio that is performing the build. It looks like the default for VS 2022 is v143.

What you can do is add a Set Macro step before the Make VS action to set DefaultPlatformToolset = v143 with 'Add to environment variables...' checked, and the Make VS action will do the replacement on the VS variable from the environment variable. If the executable is created in that path, the action will be able to detect the change for incrementing.
Reply With Quote
  #6  
Old 05-14-2024, 07:11 AM
mgampi mgampi is online now
Registered User
 
Join Date: 05-19-2011
Posts: 6
I will try to change the build script but will you support $(DefaultPlatformToolset) in a future release?
All our libraries are using this macro, because they are built with/for different compiler versions.

TIA

Martin
Reply With Quote
  #7  
Old 05-14-2024, 08:06 AM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,027
Supported in the latest download (VisBuildDotNET.dll 10.9.0.3).
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 06:06 PM.


Copyright © 1999-2023 Kinook Software, Inc.