如果目标机器是你的控制之下,你可能要在其上安装Visual Studio。这将部署运行时的调试版本。
另外,从开发机器复制并排端库到目标机器。在%windir%\WinSxS
。在我的开发机器(VS 2008 SP1)上,它们驻留在以下文件夹中:
%windir%\WinSxS\x86_Microsoft.VC90.DebugCRT_1fc8b3b9a1e18e3b_9.0.21022.8_x-ww_597c3456
%windir%\WinSxS\x86_Microsoft.VC90.DebugCRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_f863c71f
%windir%\WinSxS\x86_Microsoft.VC90.DebugCRT_1fc8b3b9a1e18e3b_9.0.30729.4148_x-ww_5d84dd2f
%windir%\WinSxS\x86_Microsoft.VC90.DebugMFC_1fc8b3b9a1e18e3b_9.0.21022.8_x-ww_2a62a75b
%windir%\WinSxS\x86_Microsoft.VC90.DebugMFC_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_c94a3a24
%windir%\WinSxS\x86_Microsoft.VC90.DebugMFC_1fc8b3b9a1e18e3b_9.0.30729.4148_x-ww_2e6b5034
%windir%\WinSxS\x86_Microsoft.VC90.DebugOpenMP_1fc8b3b9a1e18e3b_9.0.21022.8_x-ww_72b673b0
%windir%\WinSxS\x86_Microsoft.VC90.DebugOpenMP_1fc8b3b9a1e18e3b_9.0.30729.4148_x-ww_76bf1c89
你看过吗? http://msdn.microsoft.com/en-us/library/aa985618%28VS.80%29.aspx。另请看http://msdn.microsoft.com/en-us/library/ms235299.aspx – Tim 2010-10-07 13:53:36
完美 - 谢谢!我正在寻找这样的文档 - 我的Google Fu失败了我。 – 2010-10-07 14:29:14