You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use the https://github.com/scriptcs-contrib/scriptcs-mef/ module. This module calls the ExecuteScript method of the ScriptExecutor class in order to compile/execute cs-scripts. So far so good.
When I pass "-debug" as argument to the scriptArgs parameter of the method, I assume the script engine to create an assembly that can be debugged. But it seems this assumption is wrong:
In the ReturnValue of the scriptResult (CommonScriptEngine → Execute()), I can see, that the created assembly has the DebuggableAttribute in the CustomAttributes-List. But its constructor parameter ist 263 which is not a valid value according to the microsoft docs.
Is it possible to compile the assembly in a way, that it can be debugged?
Best regards
Kilian
The text was updated successfully, but these errors were encountered:
Hello,
I use the https://github.com/scriptcs-contrib/scriptcs-mef/ module. This module calls the
ExecuteScript
method of theScriptExecutor
class in order to compile/execute cs-scripts. So far so good.When I pass "-debug" as argument to the
scriptArgs
parameter of the method, I assume the script engine to create an assembly that can be debugged. But it seems this assumption is wrong:In the
ReturnValue
of the scriptResult (CommonScriptEngine → Execute()
), I can see, that the created assembly has theDebuggableAttribute
in the CustomAttributes-List. But its constructor parameter ist 263 which is not a valid value according to the microsoft docs.Is it possible to compile the assembly in a way, that it can be debugged?
Best regards
Kilian
The text was updated successfully, but these errors were encountered: