Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/visual-studio-2010/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C++ c++-cli DLL加载时间依赖项_C++_Visual Studio 2010_C++ Cli - Fatal编程技术网

C++ c++-cli DLL加载时间依赖项

C++ c++-cli DLL加载时间依赖项,c++,visual-studio-2010,c++-cli,C++,Visual Studio 2010,C++ Cli,在Visual Studio 2010中以发布模式使用/clr/md选项构建c++-cli时,在生成发布程序集上运行依赖项遍历程序时,生成的程序集依赖于这些选项 c:\windows\system32\MSVCR100.DLL c:\windows\system32\MSVCP100.DLL c:\windows\system32\MSVCP100D.DLL c:\windows\system32\MSVCR100D.DLL 为什么有MSVCP100D.DLL和MSVCR100D.DLL?我认为

在Visual Studio 2010中以发布模式使用/clr/md选项构建c++-cli时,在生成发布程序集上运行依赖项遍历程序时,生成的程序集依赖于这些选项

c:\windows\system32\MSVCR100.DLL c:\windows\system32\MSVCP100.DLL c:\windows\system32\MSVCP100D.DLL c:\windows\system32\MSVCR100D.DLL


为什么有MSVCP100D.DLL和MSVCR100D.DLL?我认为它们应该只在调试构建模式下出现。如何删除对调试DLL MSVCP100D.DLL和MSVCR100D.DLL的依赖关系?

看起来mscoree.lib仅使用调试库构建。如果这不是真的,以及如何获取此库的发布版本,您会很感兴趣。请重新编译与发布模式设置链接的所有.obj和.lib。您可以使用链接器的/VERBOSE选项进行诊断。没关系。原来我是在发布模式下使用OpenCV的调试库。