2010-09-10 61 views
2

我們的C#應用​​程序需要啓動第三方(來自客戶)可執行文件(VC++)來執行某些操作。它在XP和Windows 7中運行良好,但在Window Embedded Standard 7中崩潰。以下是來自系統事件日誌的日誌。程序集Microsoft.VC90.CRT問題

Activation context generation failed for "C:\Ande\thirdParty\cogs2.exe". Dependent Assembly Microsoft.VC90.CRT,processorArchitecture="x86",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="9.0.21022.8" could not be found. Please use sxstrace.exe for detailed diagnosis. 

任何人知道在哪裏可以找到Assembly Microsoft.VC90.CRT,我怎樣才能使它availble的我們的Win7嵌入式機器?我們通過模板,答案文件和自定義選擇構建了我們的Win7 Embedded。所有都有相同的崩潰。我們使用的是.NET 3.5 SP1和VS 2008

感謝,

回答

0

也許這可以幫助:

的依賴並排側組裝件 可以安裝無論是作爲共享 總成或作爲私人組裝。對於 例如,Visual Studio 2008安裝 的CRT組件作爲共享 並排側組件,該組件可以是 在目錄 %WINDIR%發現\ WinSxS文件\ x86_Microsoft.VC90.CRT_ 運行時,Windows XP或在 目錄 %WINDIR%\ winsxs文件\ x86_microsoft.vc90.crt_ 運行Windows Vista

http://msdn.microsoft.com/en-us/library/ms235342.aspx

0

提到的步驟被打包到你的應用程序,你可能希望使用VC90 CRT合併模塊。

你可以在C:\ Program Files \ Common Files \ Merge Modules \或C:\ Program Files(x86)\ Common Files \ Merge Modules \