- Aug
- 2,799
- 144
Hi @rconn
I am currently developing a C# .NET Framework plugin for TCC (Take Command Console) and running into a conflict between the CSScript
I am using the
My investigation suggests this is because Roslyn requires a more permissive environment than TCC's restricted
This is a known limitation of Roslyn inside constrained plugin hosts.
I looked through my notes and found a request I made to you in April 2026, regarding the
Specifically, that after issuing
I can get
My question is: Is the failure of
If the answer is "yes," I am fine with that trade-off.
I would prefer to keep the ability to unload the plugin (no file lock) rather than force the
Ref: cs-script.net-framework/Source/CSScriptLibrary at master · oleg-shilo/cs-script.net-framework
Ref: Done - Load .NET plugin as raw binary data
Joe
I am currently developing a C# .NET Framework plugin for TCC (Take Command Console) and running into a conflict between the CSScript
RoslynEvaluator and TCC's plugin loader.I am using the
CSScriptLibrary.dll (legacy .NET Framework version) and cannot get the RoslynEvaluator to initialize. My investigation suggests this is because Roslyn requires a more permissive environment than TCC's restricted
AppDomain (which uses custom assembly resolution). This is a known limitation of Roslyn inside constrained plugin hosts.
I looked through my notes and found a request I made to you in April 2026, regarding the
/u (unload) command. Specifically, that after issuing
plugin /u mynet, the mynet.dll file is no longer locked, making it easier to develop .NET plugins.I can get
CodeDomEvaluator working, but I lose the ability to use CS-Script engine directives.My question is: Is the failure of
RoslynEvaluator directly caused by the same AppDomain restrictions that allow the plugin to unload cleanly (releasing the file lock)?If the answer is "yes," I am fine with that trade-off.
I would prefer to keep the ability to unload the plugin (no file lock) rather than force the
RoslynEvaluator to work in this environment.Ref: cs-script.net-framework/Source/CSScriptLibrary at master · oleg-shilo/cs-script.net-framework
Ref: Done - Load .NET plugin as raw binary data
Joe