64位C ++ .NET应用程序无法启动 [英] 64 bits C++ .NET application cannot start
问题描述
我无法在 Debug 配置中运行使用Visual Studio 2008 Professional构建的任何64位(x64平台)C ++ .NET应用程序。
错误消息表明Side-by-Side配置无效。进一步调查(使用SxStrace)显示在 \ Windows \WinSxS
中确实没有运行时库的调试版本(文件 msvc * 90d.dll
)。发行版本在那里。
可以找到的唯一64位调试版本在 C:\Program Files(x86)\ Microsoft Visual Studio 9.0\VC\redist\Debug_NonRedist\amd64\Microsoft.VC90.DebugCRT
我已经重新安装VC2008。我还尝试在 \ Windows \WinSxs
中复制DLL,但是保护太强了。
为什么应用程序找不到这些DLL?我该怎么办?
I can''t run any 64 bits (x64 platform) C++ .NET application built with Visual Studio 2008 Professional in the Debug configuration.
Error messages indicate that the Side-by-Side configuration is invalid. Further investigations (using SxStrace) reveal that there are indeed no debug versions of the Run-Time libraries in \Windows\WinSxS
(files msvc*90d.dll
). Release versions are there.
The only 64 bits Debug version that can be found are in C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\redist\Debug_NonRedist\amd64\Microsoft.VC90.DebugCRT
I have re-installed VC2008. I have also tried to copy the DLLs in \Windows\WinSxs
, but protections are too strong.
Why is it that the applications don''t find these DLLs ? What can I do ?
推荐答案
Hurray,我发现了这个,深入MS doc:http://msdn.microsoft.com/en-us/library/ms235317 (v = vs.90).aspx [^]
您只需要为这些调试DLL创建自己的安装包!来自狡猾的微软的另一个转折......
Hurray, I found this, deep in MS doc: http://msdn.microsoft.com/en-us/library/ms235317(v=vs.90).aspx[^]
You just need to create your own installation package for these Debug DLLs !? Yet another twist from ever-cunning Microsoft...
这篇关于64位C ++ .NET应用程序无法启动的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!