tags:

views:

245

answers:

1

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.

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

+3  A: 

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.

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 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
========== Rebuild All: 1 succeeded, 0 failed, 0 skipped ==========

Igor Zevaka
Nope.. I've looked everywhere. There is no single DLL in the whole project folder (and its subfolders).
prolog
Maybe it sounds obvious, but did you try to rebuild it instead of the general "build" option?
rursw1
@prolog, don't look in the *project* folder, look in the *solution* folder.
Hans Passant
Solution directory is normally one level above the project directory. Can you open the output window and have a look at the build log? It'll tell you where the dll goes.
Igor Zevaka