Reputation: 9277
i have here a strange behaviour with VS2012.
I have a C++ dll project, with an export defnition file. In Debug built everything is fine, a dll and a lib file is generated. In Release built only a dll file is generated.
Best Tom
Upvotes: 0
Views: 103
Reputation: 6678
Make sure that the .def file is specified in the project's Propert Pages in Configuration Properties | Linker | Input | Module Definition File in both the Debug and Release configurations.
Upvotes: 1