Westwind.Scripting icon indicating copy to clipboard operation
Westwind.Scripting copied to clipboard

Wrong code gets executed on second invoke of ExecuteCode

Open thedruggist opened this issue 2 years ago • 0 comments

When invoking the method ExecuteCode for a second time on the same instance of CSharpScriptExecution the code parameter is not used. The code from the first invoke is used. In my opinion this happens because after compiling the new assembly in ExecuteMethod the method CreateInstance should be invoked with parameter force = true

thedruggist avatar Oct 16 '23 14:10 thedruggist