我正在使用64位插件的64位操作系統windows 7終極機器VS2008。VS2008中的64位調試版本的並行配置錯誤
我已經成功構建了我的項目,包括32位64位調試和發佈配置。 64位調試未啓動;它給出的錯誤:
Unable to Start program xxx This application has failed to start because application configuration is incorrect. Review the manifest file for possible errors. Reinstalling the application may fix this problem. For more retails see application event log.
我跑了依賴沃克。 從redistibutable路徑C:\ Program Files文件(x86)的\微軟的Visual Studio 9.0 \ VC \ REDIST \ Debug_NonRedist \ AMD64 \ Microsoft.VC90.DebugCRT 我加 Microsoft.VC90.DebugCRT.manifest msvcm90d msvcp90d msvcr90d Microsoft.VC90.DebugOpenMP vcomp90d.sll 在我的解決方案的bin \ debug文件夾中。
最後的Dependency Walker沒有必須任何黃色標記(文件丟失)離開了,但它仍然給了這樣的錯誤:
Error: At least one required implicit or forwarded dependency was not found. Error: At least one module has an unresolved import due to a missing export function in an implicitly dependent module. Error: Modules with different CPU types were found. Error: The Side-by-Side configuration information in "e:\xyz.EXE" contains errors. The application has failed to start because its side-by-side configuration is incorrect. Please see the application event log or use the command-line sxstrace.exe tool for more detail (14001).
32位的清單說:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v3">
<security>
<requestedPrivileges>
<requestedExecutionLevel level="asInvoker" uiAccess="false"></requestedExecutionLevel>
</requestedPrivileges>
</security>
</trustInfo>
<dependency>
<dependentAssembly>
<assemblyIdentity type="win32" name="Microsoft.VC90.DebugCRT" version="9.0.21022.8" **processorArchitecture="x86"** publicKeyToken="1fc8b3b9a1e18e3b"></assemblyIdentity>
</dependentAssembly>
</dependency>
</assembly>
儘管64位調試清單有:
<dependency>
<dependentAssembly>
<assemblyIdentity type="win32" name="Microsoft.VC90.DebugCRT" version="9.0.21022.8" processorArchitecture="amd64" publicKeyToken="1fc8b3b9a1e18e3b"></assemblyIdentity>
</dependentAssembly>
</dependency>
我不明白的是,爲什麼調試32位版本ru n成功了嗎?
請幫助我,因爲我已經檢查了很多問題,但還沒有找到任何可行的解決方案。
不重複,但可能相關?不知道這是否會有所幫助:http://stackoverflow.com/questions/3803825/vc-crt-redist-problem –
你是否試圖在不同的機器上運行構建比你建立它?通常情況下,調試運行時是「不可再發行的」,這意味着你不能在沒有構建合併模塊的情況下在其他機器上運行它,並在你試圖運行代碼的任何機器上安裝它們。 – Benj
@Nic - 我不認爲這個問題會有幫助,那個人只是錯過了正確的發行版運行時。調試運行時很痛苦......通常在VS中建立一個「設置項目」爲你處理合並模塊,這樣你就可以將它們與你的二進制文件一起安裝在調試版本中。 – Benj