DEF file syntax error in visual studio 2012
问题 I have a vs project which wouldn't compile once I upgraded to visual studio 2012. Its a win32 dll project and it complains about the def file. This is the def file, LIBRARY test.dll VERSION 3.1.4.1 EXPORTS addNumbers @1 and this is the error I get when I compile the project in visual studio 2012 ultimate. Source.def(2): fatal error LNK1118: syntax error in 'VERSION' statement What is confusing me is that, this works perfectly fine with visual studio 2008 & 2010. Any idea what is going wrong