View Single Post
  #2  
Old 02-22-2006, 01:13 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,003
That error is consistent with the WINDIR environment variable being missing: http://tinyurl.com/z7v53. It's unclear why that it is missing or why the behavior would be different between the VBP GUI and console apps. How is the build started (manually, scheduled task, batch file, etc.), and are the GUI and console apps being started identically? Does the problem occur every time or sporadically? Please ZIP and post or send:
1) The info from Help | About | Install Info.
2) The .bld file that is building the solution.
3) The command-line used to invoke the GUI and console apps.
4) The solution and project files being built.
5) Instead of invoking VBP directly, invoke it from batch file like this:

set > %TEMP%\set.before
<original VBP build command-line>
set > %TEMP%\set.after

Also, add a Run Program step to the beginning of your project with a command of
%DOSCMD% set

and send the build log and the set.before/after files. Thanks.
Reply With Quote