- 优化 Console.Write 平台兼容问题;#643

This commit is contained in:
2881099
2021-01-12 18:24:49 +08:00
parent 7379050bfd
commit fd770e06b1
5 changed files with 44 additions and 57 deletions

View File

@ -49,7 +49,7 @@ namespace FreeSql.Extensions.LazyLoading
if (!dll.EndsWith(".dll", StringComparison.OrdinalIgnoreCase) &&
!dll.EndsWith(".exe", StringComparison.OrdinalIgnoreCase)) continue;
Console.WriteLine(dll);
//Console.WriteLine(dll);
var dllName = string.Empty;
var idx = dll.LastIndexOf('/');
if (idx != -1) dllName = dll.Substring(idx + 1);