0xE0434F4D 错误
总之,我有一个相当令人沮丧的问题。 相关应用程序有一个 MFC GUI,它使用 MFC 功能包中提供的类。 该 GUI 使用 C++\CLI 开发的 DLL。 我们公司使用巡航控制系统。 NET (1.4.4 SP1) 在 Windows Server 2008 SP2 上进行持续集成。 Cruise Control 设置为使用框架上 3.5 版本附带的 MSBuild 版本。
有问题的问题是,如果我使用 Cruise Controls 创建的版本,我会收到以下错误:“FormView.exe 中 0x7642fbae (kernel32.dll) 处出现未处理的异常:0xE0434F4D:0xe0434f4d。” 经过一番挖掘,问题似乎是 GUI 不喜欢 C++\CLI 程序集。
“问题”是,如果我登录到服务器,并使用 PowerShell 执行相同的 MSBuild 命令,构建就会起作用。 有人有想法吗?
all, I have a rather frustrating issue. The application in question has an MFC GUI that uses the classes available in the MFC Featurepack. This GUI uses an DLL that is developed in C++\CLI. Our company uses Cruise Control. NET (1.4.4 SP1) on Windows Server 2008 SP2 for continuous integration. Cruise Control is setup to use the version of MSBuild that comes with the 3.5 version on the framework.
The issue in question is that if I use the build that Cruise Controls creates, I receive the following error: "Unhandled exception at 0x7642fbae (kernel32.dll) in FormView.exe: 0xE0434F4D: 0xe0434f4d." After some digging, the issue seems to be that the GUI doesn't like the C++\CLI assembly.
The "gotcha" is that if I log on to the server, and, using PowerShell, execute the same MSBuild command, the build works. Any one have ideas?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
问题是我如何构建安装程序。 它是与项目的主要解决方案分开的解决方案,因此是与主要构建分开的任务。 因此,输出程序集被签名了两次,并且加载程序抱怨,因为应用程序想要的程序集不再有效。
The issue was how I was building the installer. It was a separate solution from the project's main solution, and was thus a separate task from the primary build. Therefore, the output assemblies got signed twice, and loader complained because the one the application wanted was no longer valid.
您可以尝试将进程附加到 Visual Studio 调试器。
you could try and attach the process to the visual studio debugger.