470,815 Members | 1,338 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,815 developers. It's quick & easy.

How do I set a system-wide _ifdef?

xarzu
87 64KB
How do I set a system-wide _ifdef?

This is using Microsoft Visual Stuedio version 2019 with C#.

If I want to add specialized code to a project shared by multiple software developers that is designed for my selfish tests and evaluation, how do I manage a # definition inside the C# code?

I imagine some soft of solution varable that is deined in either the project file or the solution file that I do not merge with the master branch of the code in the version contorl system. And then this "# define" is somehow blocked out in the source file.

Has anyone experienced or used such a thing?
Feb 21 '22 #1
0 3970

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

5 posts views Thread by lovecreatesbeauty | last post: by
5 posts views Thread by Hash | last post: by
6 posts views Thread by Michael B Allen | last post: by
1 post views Thread by Michael Sgier | last post: by
5 posts views Thread by anushhprabu | last post: by
6 posts views Thread by anirbid.banerjee | last post: by
10 posts views Thread by David W | last post: by
3 posts views Thread by Andrew Gabriel | last post: by
reply views Thread by mihailmihai484 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.