View Full Version : Make action not using environemt macros
snutt
06-06-2007, 08:56 AM
I have set a number of macros and checked the "Add to environment variables when calling external programs" check box. However when I run the Make VS.NET action, these macros have not been added to the environment variables. Is there a workaround to this?
Many thanks,
Steve
kinook
06-06-2007, 09:21 AM
That works ok here. For instance, using VBP 6.4 and VS.NET 2003, building the attached test.bld produces output of:
6/6/2007 8:15:08 AM: --------------------Starting Build: 'test.bld'--------------------
6/6/2007 8:15:08 AM: Building project step 'Project steps'...
6/6/2007 8:15:08 AM: Building project step 'Set Macro'...
Created Temporary macro 'ABC'
Environment variable updated from macro
6/6/2007 8:15:08 AM: Building project step 'Make VS.NET'...
Pre-processing...
Rebuilding configuration 'Debug'...
Microsoft (R) Development Environment Version 7.10.3077.
Copyright (C) Microsoft Corp 1984-2001. All rights reserved.
------ Rebuild All started: Project: EnvTest, Configuration: Debug Win32 ------
Deleting intermediate files and output files for project 'EnvTest', configuration 'Debug|Win32'.
test env var
ABC = 6/6/2007 8:15:08 AM from VisBuildPro
Compiling...
stdafx.cpp
Compiling...
EnvTest.cpp
Linking...
Build Time 0:00
EnvTest - 0 error(s), 0 warning(s)
---------------------- Done ----------------------
Rebuild All: 1 succeeded, 0 failed, 0 skipped
Please ZIP and send or post:
1) The info from Help | About | Install Info
2) The .bld file
3) A build log file
4) The .sln file and project files (no source code files)
Which demonstrate the problem
Thanks.
vBulletin® v3.8.11, Copyright ©2000-2024, vBulletin Solutions Inc.