Wednesday, April 25, 2018

How to add project level Preprocessor Definitions to a C# project

Using GUI Open the project in Visual Studio Right-Click on the project file in the solution explorer go to properties Go to Build tab and Make sure you select the All Configurations in the configuration drop down Make sure selected the All Platforms in Platform drop-down Type the Preprocessor Definitions you want in the Conditional Compilation...