Thread: Parsing error
View Single Post
  #2  
Old 05-10-2006, 04:30 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,049
You can't use vbld_EscapeString from a C# custom action (that is a system script function, which is only available to other script code or user actions written in a scripting language). Simply don't expand macros and script; instead use the raw value of the LASTSTEP_OUTPUT macro:

string strLastStepOutput = Builder.App.get_Macros(MacroTypeEnum.vbldMacroSyst em)["LASTSTEP_OUTPUT"].Value.ToString();
Reply With Quote