Thomas
Thomas

Reputation: 9277

VC C++: lib file missing in release built

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

Answers (1)

user1610015
user1610015

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

Related Questions