سؤال

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?

هل كانت مفيدة؟

المحلول

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.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top