I have worked on iOS project and now started with Windows Phone,
in iOS I have copied all common classes in one folder (lets say parent) and linked that folder in different projects, let's say child projects.
in common classes I have one class called Constants.m in that I have defied all #define
statements with some values approximately 98 statements, I am using that across all classes.
And in child project I am using .pch file in that I have defined only project specific values #define
statements let's say 10 values.
Now when I run the child project, whatever values I have defined in .pch file it will override that values with default one from Constants.m, so I will get child project specific values, and whatever values I didn't define in child project that code will pick default values from Constants.h.
I am trying to use similar kind of stuff in Windows phone application development, I am able to link the classes but I am not able get #define
from other files.
How to use #define from another file?
Is there any way from that I can override defined values ? as just like iOS.