关闭 CSScriptLib Debug 编译,防止权限错误;

This commit is contained in:
28810 2019-03-07 19:46:26 +08:00
parent cd1e6e4a7b
commit cd57312812

View File

@ -548,7 +548,7 @@ return rTn;");
//var dlls = Directory.GetFiles(Directory.GetParent(Type.GetType("IFreeSql, FreeSql").Assembly.Location).FullName, "*.dll"); //var dlls = Directory.GetFiles(Directory.GetParent(Type.GetType("IFreeSql, FreeSql").Assembly.Location).FullName, "*.dll");
var compiler = new CSScriptLib.RoslynEvaluator(); var compiler = new CSScriptLib.RoslynEvaluator();
compiler.DisableReferencingFromCode = false; compiler.DisableReferencingFromCode = false;
compiler.DebugBuild = true; //compiler.DebugBuild = true;
//foreach (var dll in dlls) { //foreach (var dll in dlls) {
// Console.WriteLine(dll); // Console.WriteLine(dll);
// var ass = Assembly.LoadFile(dll); // var ass = Assembly.LoadFile(dll);