Starnzy
asked on
Re-use Classes that exist in multiple-project solution.
I have a Solution in Visual Studio.NET which contains 2 Projects. Both will do the same thing, only one will be a standalone application and the other will be a windows service. I have created the standalone app already and have set up some classes that could be resused within my 'Service' project in this same solution.
The question is, how do I go about referencing the classes I used in my Standalone App project so I don't need to copy the same files into my Service project?
Thanks in advance...
The question is, how do I go about referencing the classes I used in my Standalone App project so I don't need to copy the same files into my Service project?
Thanks in advance...
ASKER
Sorry, I'm still quite new to all this. Can you explain how I would go about the above?
Thanks
PS What's the 'GAC' ?
Thanks
Thanks
PS What's the 'GAC' ?
Thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
You can add the classes into a new assembly and then add the assembly into the GAC and reference the assembly in both the projects.
Regards,
Venki