Posted on Wednesday, April 25, 2018 by nayana
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 Symbols text box separated by semicolon
Directly in to Project file
- Open the project file in a Text Editor
- Copy and paste this code to end of existing PropertyGroup
<PropertyGroup Condition="'$(VariableName)'=='VarableValue'"> <DefineConstants>PDEF1;PDEF2;PDEF3</DefineConstants> </PropertyGroup>
- If you not required to add a condition, delete the Condition="'$(VariableName)'=='VarableValue'" part
- Save the project file and open from Visual Studio
Thanks for your great and helpful presentation I like your good service. I always appreciate your post. That is very interesting I love reading and I am always searching for informative information like this.iot training institutes in chennai | industrial iot training chennai | iot training in chennai | iot training in chennai quora |
ReplyDeleteWonderful blog it was helpful for us. Thanks for the help and keep going.
ReplyDeleteSAP training in Mumbai
Best SAP training in Mumbai
SAP training institute Mumbai
It was like a great dessert crying out to me to eat it. This is good content.
ReplyDeleteSAP training in Kolkata
Best SAP training in Kolkata
SAP training institute in Kolkata
Video editor tool free
ReplyDeleteVery interesting blog. Many blogs I see these days do not really provide anything that attracts others, but believe me the way you interact is literally awesome.You can also check my articles as well.
ReplyDeleteBest Homecare Services in Bangalore
caregiver services in bangalore
nayana est une tutrice incroyable! J'ai souvent lutté avec des erreurs de compilation et nayana était toujours là pour les corriger pour moi. Elle m'a également aidé à apprendre à utiliser le préprocesseur en C, ce que je trouve très utile maintenant. Ce qu'il y a de mieux chez elle, c'est qu'elle ne vous abandonnera jamais !
ReplyDelete