Date: 2010jan15
Language: C/C++
Product: Visual Studio C++
Q. Visual Studio: My program has a .def in with the other source files (eg the .cpp files)
but Visual Studio 2005+ is ignoring it. Why?
A. Previous versions of Visual Studio let you specify the .def file this
way but now you have to place it in:
Properties > Linker > Input > Module Definition File
Set it to:
$(ProjectName).def