Where to add the directory for .def file in Visual Studio?
<p>How can I add to Visual Studio's linker a <code>.def</code> file to use for linking. I have added the <code>.def</code> file, but I cannot figure out how to specify the directory in which the <code>.def</code> file resides. Simply adding the <code>.def</code> file to the Visual Studio project did not help. Nor did copying the <code>.def</code> file to the project's source directory folder. I have also tried specifying the Visual Studio additional include directory as where the <code>.def</code> file resides.</p>