c ++ / cli项目调试构建在安装后崩溃

时间:2012-10-17 08:55:32

标签: visual-studio c++-cli

我有一个WPF项目,C#库和一个C ++ / CLI项目的解决方案。安装程序使用WiX构建。

当我安装Release版本时,一切正常,当我安装Debug版本时,应用程序崩溃了System.IO.FileNotFoundException: Could not load file or assembly 'MyC++CLIComponent.dll' or one of its dependencies. The specified module could not be found.

当我将构建配置更改为仅对此组件使用Release时,但对其他组件使用Debug时,它可以正常工作。

什么会导致C ++ / CLI项目的Debug构建失败?

我正在尝试在安装后从组件中获取AtlTrace信息,但它不会在发布版本中输出。

0 个答案:

没有答案