Visual Studio 2010 C++ DLL project - No output DLL file!

前端 未结 3 1261
Happy的楠姐
Happy的楠姐 2021-01-07 21:57

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

3条回答
  •  情话喂你
    2021-01-07 22:45

    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 ==========

提交回复
热议问题