|
#1
|
|||
|
|||
Macro too big?
I have a Send Email step that is triggered if my build fails. All of the compiler errors are saved in a macro. Before sending the email, I have it build an EmailText macro comprising of a bit of info at the top and the attached set of errors that occured. I then use this macro as the message content for the email. If there were a lot of errors however, the send email step fails. I get an error that looks like this:
Error at Line 1, Column 11 (Syntax error) Code: Microsoft .NET Framework, Version 2.0.50727.42 Which isn't very informative. If I shrink the size of the EmailText macro, it works fine. I am using VBP version 5.7. Thank you |
#2
|
|||
|
|||
Most likely, you're storing text in the macro value without escaping it. Use vbld_EscapeString to ensure it's properly escaped.
http://www.visualbuild.com/Manual/sysscriptmisc.htm |
#3
|
|||
|
|||
Thank you, that was it.
|
Thread Tools | |
Display Modes | Rate This Thread |
|
|