2009-06-19 13 views
2

當我嘗試從Visual Studio 2005(SP1)我收到以下錯誤消息開始我的項目的發行版本:不能(通過側方的問題?)找到MSVCP80.dll

「此應用程序。未能啓動,因爲MSVCP80.dll未發現重新安裝這個程序可能修復問題」

當我看到清單的發佈版本,它規定了以下內容:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?> 
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0"> 
    <dependency> 
    <dependentAssembly> 
     <assemblyIdentity type="win32" name="Microsoft.VC80.CRT" version="8.0.50727.762" processorArchitecture="x86" publicKeyToken="1fc8b3b9a1e18e3b"></assemblyIdentity> 
    </dependentAssembly> 
    </dependency> 
</assembly> 

當我看看Windows/WinSxS文件夾我有以下版本的CRT:

x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.1433_x-ww_5cf844d2 
x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.163_x-ww_681e29fb 
x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.3053_x-ww_b80fa8ca 
x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.42_x-ww_0de06acd 
x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.762_x-ww_6b128700 

所有這些文件夾都包含所需的dll。在我的固定電腦上,使用完全相同版本的Visual Studio,一切正常。

這裏是踢球者,在問題出現之前,我已經準備好在發佈和調試中啓動一次程序。 debug-build的輸出顯示WinSxS中的DebugCRT .762 * -dlls是第一次加載,但現在當我嘗試啓動程序時,它無法找到這些dll。

唯一的外部依賴是ws2_32.lib。

我剛剛重新安裝了筆記本電腦上的所有東西(Windows XP,Visual Studio,Service Pack等),但無濟於事。

如果我刪除對ws2_32.lib的引用,則程序啓動。

請幫助我,我即將把我的品牌新的筆記本電腦窗外:(

親切的問候

安德烈亞斯Brinck

回答