Search code examples
visual-studiosvnvisual-studio-2012ignorecollaboration

How to NOT share conditional symbols in large teams?


We use SVN with VS2012. I have a bit of code which I want to be compiled for myself only. I defined conditional compilation symbol and used #if pragma..

However it appeared to be shared through the project file and the SVN with everyone which defies the purpose.

How do you guys go about this problem?


Solution

  • yeah... any changes you make to the file get checked in - svn, doesn't know anything about the code itself. If it's for you only, don't check it in on a branch anyone else uses.