Make ScriptContext non-API1 aware
Uncategorized
ScriptContext.Parameters property now is of type TenForce.Execution.Scripting.ScriptParameters (was TenForce.Execution.API.Objects.ScriptParameters) which can lead to build errors.
Possible ways to fix the issue in the code:
- If you're not using API1 try to remove
TenForce.Execution.API.Objectsnamespace import and addTenForce.Execution.Scripting - If you're using API1 try to use named imports
using ScriptParameters = TenForce.Execution.Scripting.ScriptParameters; - Try to use
varfor a variable instead of explicitScriptParameters