Visual Studio 2010 C ++ DLL项目 - 没有输出的DLL文件! [英] Visual Studio 2010 C++ DLL project - No output DLL file!

查看:301
本文介绍了Visual Studio 2010 C ++ DLL项目 - 没有输出的DLL文件!的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我可以编译DLL项目没有任何错误。它说Build succeeded。
但我在Debug或Release文件夹中没有看到任何DLL文件。

I can compile the DLL project without any error. It says "Build succeeded". But I don't see any DLL file in the Debug or Release folder.

只有.exp,.lib和.pdb文件

There are only .exp, .lib and .pdb files

推荐答案

Visual Studio 2010默认将输出文件放在 $(SolutionDir)\Debug $(SolutionDir)\Release 。很可能你正在查看项目中的Debug和Release文件夹 - 这是中间文件夹。

Visual Studio 2010 by default puts the output files in $(SolutionDir)\Debug or $(SolutionDir)\Release. It's quite likely you are looking at Debug and Release folders inside the project - which are the intermediate folders.

找出输出文件打开的位置项目属性>常规>输出目录。默认情况下它是 $(SolutionDir)$(Configuration)\ ,它的解决方案目录中的Debug或Release。

To find out where the output files got open Project Properties > General > Output Directory. By default it is $(SolutionDir)$(Configuration)\ which evaluates to either Debug or Release in your solution directory.

EDIT Visual Studio将告诉您将输出文件放在输出窗口中的什么位置。只需通过进入视图>输出。它会说这样:

EDIT Visual Studio will tell you where it places the output files in the Output window. Just bring it up by going to "View > Output". It'll say something like this:


1> MFCInterop.vcxproj - > C:\temp\sotest\Debug\ MFCInterop.dll

==========重建全部:1成功,0失败,0跳过==========

1> MFCInterop.vcxproj -> C:\temp\sotest\Debug\MFCInterop.dll
========== Rebuild All: 1 succeeded, 0 failed, 0 skipped ==========

这篇关于Visual Studio 2010 C ++ DLL项目 - 没有输出的DLL文件!的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆