mirror of
https://github.com/nsnail/FreeSql.git
synced 2025-04-22 02:32:50 +08:00
关闭 CSScriptLib Debug 编译,防止权限错误;
This commit is contained in:
parent
cd1e6e4a7b
commit
cd57312812
@ -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);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user