You'd have at least two choices. You can (a) compile the contents of the
MyClass.cs file into a Class Library project and then consume the assembly
from the other projects, or (b) when you add the file to a project you
should be able to select the "link file" option from the dropdown on the
"open" button - this would allow you to share (link) the file between other
projects.
--
Tim Wilson
..NET Compact Framework MVP
"Serdge Kooleman" <Su***@web.de> wrote in message
news:Oo**************@TK2MSFTNGP11.phx.gbl...
c# how to use the same class in two projects?
i have solution that consists of website, winapp and web service.
i need to use the same class MyClass.cs in all three applications.
i cannot figure out how to do in the VS 2005?