且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

SGEN - 尝试加载格式不正确的程序集

更新时间:2023-11-07 23:47:04

你还没有设法解释所有这些是如何与sgen连接的。可执行程序。如果你的目标是"任何cpu",问题就会消失并且有一个已知的32位程序集,听起来你的代码是在32位版本的.NET上运行的。建议你没有安装64位版本的.NET。
You haven't managed to explain how all of this is connected to sgen.exe.  If problems disappear when you target "any cpu" and have a known 32-bit assembly, it sounds like your code is running on the 32-bit version of .NET.  Suggesting you haven't got the 64-bit version of .NET installed.