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...
StarnzyAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
tovvenkiConnect With a Mentor Commented:
Hi,
Please have a look at this for installing the assembly into the GAC
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpconworkingwithassembliesglobalassemblycache.asp

GAC - Global Assembly Cache.

Regards,
venki
0
 
tovvenkiCommented:
Hi,
  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
0
 
StarnzyAuthor Commented:
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
0
All Courses

From novice to tech pro — start learning today.