Programming Tips - My program has a .def in with the other source files (eg the .cpp files)

Date: 2010jan15 Language: C/C++ Q. 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