|
#1
|
|||
|
|||
Wscript.Echo not working
Hi
I have a Run Script step (VBScript) inside my Visual Build project which contains: Wscript.Echo "Test message" When i start it in Visual Build the message is shown in the log. But when I run it command line like this: "c:\Program Files\VisBuildPro9\VisBuildCmd.exe" /b "c:\Program Files\VisBuildPro9\Test.bld" the message is now shown in the log. Any idea why and how can I make it visible ? |
#2
|
|||
|
|||
It works in my tests. Using the attached project, and building with
"C:\Program Files\VisBuildPro10\VisBuildCmd.exe" D:\temp\test.bld it outputs 11/23/2021 7:22:54 PM: Starting Build: 'D:\temp\test.bld' 11/23/2021 7:22:54 PM: Building project step 1 - Project steps... 11/23/2021 7:22:54 PM: Building project step 2 - Run Script... Test message 11/23/2021 7:22:54 PM: Build successfully completed (elapsed = 00:00:00). Please send the info from https://www.kinook.com/Forum/showthread.php?t=3044 |
#3
|
|||
|
|||
I cannot open\run the test project as I have VisBuildCmd (x64), Version 9.7.0.1 and yours is a newer version.
Would be possible to give me the same test project but version 9.7? |
#4
|
|||
|
|||
I tried my test project on other machine -wscript.echo worked ,i had the test message in the log.Any idea why on that specific machine the command does not work?Could be some Visual Build setting causing this issue?
|
#5
|
|||
|
|||
Open the .bld file in a text editor and change the version to 9.
I don't know, send the info in the link above and we'll see. |
#6
|
|||
|
|||
I ran it and the echo did not work:
:\Program Files\VisBuildPro9>"c:\Program Files\VisBuildPro9\VisBuildCmd.exe" "c:\Program Files\VisBuildPro9\Test.bld" VisBuildCmd (x64), Version 9.7.0.1 11/24/2021 9:04:54 PM: Starting Build: 'c:\Program Files\VisBuildPro9\Test.bld' 11/24/2021 9:04:54 PM: Building project step 'Project steps'... 11/24/2021 9:04:54 PM: Building project step 'Run Script'... 11/24/2021 9:04:54 PM: Build successfully completed (elapsed = 00:00:00). The link you provided is for Ultra Recall,could you please tell me which one is for Visual Build... |
Tags |
vbscript |
|
|