我只是想构建现有程序的 64 位版本(带有一些依赖 DLL 的 EXE)。由于在 Linux 下它很容易(只需重新编译它),我很乐观它在 Windows 下可能会有点相似。不幸的是,它不是...
启动我新编译的 EXE 后,我收到一条错误消息
The application has failed to start because its side-by-side configuration is incorrect...
追查它的原因,我做了一个 SxS 跟踪,显示以下错误消息:
ERROR: Two assemblies have the same assembly name with different version.
Assembly 1: C:\Windows\WinSxS\manifests\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.7601.17514_none_fa396087175ac9ac.manifest.
Assembly 2: INFO: Manifest found at C:\Windows\WinSxS\manifests\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.7601.17514_none_fa396087175ac9ac.manifest..
那么这是什么意思?我该如何解决这个问题?为 x64 安装 VS2010-redistributable 包不是诀窍,这里安装程序抱怨已经安装了一个较新的版本......
Manifest 文件中提到了一些 X86 ......是这个原因吗?如果是:我怎样才能找出它仍然依赖于哪些 X(& DLL?
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<assemblyIdentity version="0.64.1.0" processorArchitecture="x86" name="Controls" type="win32"> </assemblyIdentity>
<description>wxWindows application</description>
<dependency>
<dependentAssembly>
<assemblyIdentity type="win32" name="Microsoft.Windows.Common-Controls" version="6.0.0.0" processorArchitecture="X86" publicKeyToken="6595b64144ccf1df" language="*"></assemblyIdentity>
</dependentAssembly>
</dependency>
<dependency>
<dependentAssembly>
<assemblyIdentity type="win32" name="Microsoft.Windows.Common-Controls" version="6.0.0.0" processorArchitecture="amd64" publicKeyToken="6595b64144ccf1df" language="*"></assemblyIdentity>
</dependentAssembly>
</dependency>
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v3">
<security>
<requestedPrivileges>
<requestedExecutionLevel level="asInvoker" uiAccess="false"></requestedExecutionLevel>
</requestedPrivileges>
</security>
</trustInfo>
</assembly>