Solved: Add new configuration to Visual Studio 2010 project and code will no longer compile.


Create a new configuration in Visual Studio and select ‘copy’ from an existing working configuration.  The new configuration will not compile now.


As it turns out, Visual Studio 2010 (even with SP1) does not copy the Conditional compilation symbols.


Adding in my conditional compilation symbols allows the project to compile now.

Leave a Reply

Your email address will not be published. Required fields are marked *