How to debug System.TypeLoadException errors in .NET?

后端 未结 7 2024
走了就别回头了
走了就别回头了 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:36

    The problem is that you have a mismatch in your versions. Make sure all your assemblies are compiled for .NET 4.

提交回复
热议问题