12 2021 档案
摘要:c# 调试时看不到变量值 表达式求值时 对类型xxx的引用声称该类型是在 xxxx 中定义的,但未能找到 Reference to type xxx claims it is defined in xxxx but it could not be found 原因程序加载了同名dll 一个类型中存在
阅读全文
摘要:The type initializer for 'Grpc.Core.Internal.PlatformApis' threw an exception. 原因重写了程序集加载 AppDomain.CurrentDomain.AssemblyResolve += delegate (object
阅读全文
摘要:找到exe的配置文件 app.config为开发时模板 appname.exe.config为实际运行配置 在appname.exe.config中</configuration>上面增加以下节点 <system.diagnostics> <trace autoflush="true" /> <so
阅读全文