I have been searching the web for days no with no luck. This seems to be a pretty unique problem.
Currently I am creating a web application for a company and my co-workers and I have run into a major snag with integrating this new web application into the current site. There are 3 base classes that exist in the current site that must be used in the new application. Unfortunately, over the years, with so much contract work done, the entire site looks somewhat like Frankenstien's monster and most of it is not compiled. Every page and project requires these 3 classes to run but they have not been put into a compiled dll.
Now if I put those three files into their own project in my solution and reference that project with my project, everything compiles great. But when I move the files over to the server, I get an error that tells me that those classes are being duplicated. That makes total sense. I get the same issue if I include the files into my project. Again, makes total sense since there are being used twice.
So the problem is that my project won't compile without them but won't run on the server with them.
The question is this, is it possible to tell my project to reference just those files without having to make them their own project? Or can the compiler be told to look at those files and compile their location but not compile the actual file? I don't know much about how the VS compiler works.
Any ideas would be greatly appreciated. Thanks.