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
Alternatively you can create a new solution by using File –> New –> Project... . Either way will open up the “Add New Project” dialog. Here you choose “Class Library” (in section Other Languages –> Visual C++ ) and specify a new for the project. This name will also be the name of the DLL file.
On the menu bar, choose File > New > Project to open the New Project dialog box. In the left pane of the New Project dialog box, select Installed > Visual C++ > Windows Desktop. In the center pane, select Dynamic-Link Library (DLL).
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 ==========
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With