I am facing a certain situation where it needs your attention. I have to perform code reuse(I mean I dont want to copy files again and again). I have tried using Add as a link, but most of my shared classes contain namespaces. So I thought I can overcome this problem using macros in pre-processors. But I am not able to perform this process.
Can any one help me, on how to achieve this code reuse. I want to explain in detail... I have a bunch of xaml files and I will be using them in 3 projects, so I dont want to copy-paste them again. I just want to use one file and just define with a macro saying, for Project 1 use namespace Project 1... for Project 2 use namespace Project 2 and for project 3 likewise.
I want to perform this as this approach would save my time. Any help is really appreciated.
Thanks a ton.