Да. Нашел в логе. но не понял про части пути. Может в пути пробелов не должно быть или что?

Вот из лога после попытки добавить путь к классу во внешний блок:

09:18:59.14[1]DEBUG:Не удалось найти часть пути "C:\Program Files (x86)\TSLab 1.2\Handlers\MyStochK.cs".
System.IO.DirectoryNotFoundException: Не удалось найти часть пути "C:\Program Files (x86)\TSLab 1.2\Handlers\MyStochK.cs".
в System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
в System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath)
в System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
в Microsoft.CSharp.CSharpCodeGenerator.System.CodeDom.Compiler.ICodeCompiler.CompileAssemblyFromFileBatch(CompilerParameters options, String[] fileNames)
в System.CodeDom.Compiler.CodeDomProvider.CompileAssemblyFromFile(CompilerParameters options, String[] fileNames)
в TSLab.Utils.AssemblyGenerator.MakeAssemblyFromFiles(String dllFile, Boolean isVb, String[] scriptFiles, String[] refAssemblies, Boolean genDebug)
в TSLab.ScriptEngine.Template.ExternalScriptItem.GetAssembly(Boolean genDebug)
09:18:59.14[1]WARN :ВнешнийСкрипт3: Не установлен внешний скрипт