How to debug System.TypeLoadException errors in .NET?

后端 未结 7 2038
走了就别回头了
走了就别回头了 2020-12-03 10:07

I\'m getting the following error on one of my referenced assemblies:

Could not load type \'System.Func`2\' from assembly \'MyAssembly, ...

I\'ll

7条回答
  •  广开言路
    2020-12-03 10:27

    I'm not sure about your specific scenario, but the Assembly Binding Log Viewer (fuslogvw) is usually very helpful in debugging type load issues. More details at http://msdn.microsoft.com/en-us/library/e74a18c4.aspx

提交回复
热议问题