skylight Posted November 17, 2005 Posted November 17, 2005 Hi, I'm creating a website and a window application, both in .net (2002-version). They are very similar to eachother and need both the same classes. When I make a class file (.cs) in the window application I can't access it in the asp.net website, so I have to copy it to the website folder. This seems a waste to me, since they both need exactly the same code, and they are in the same solution, and if I change something in a class I have to c/p it all the time. I feel like there has to be a better solution for this. Any ideas? Quote
Administrators PlausiblyDamp Posted November 17, 2005 Administrators Posted November 17, 2005 Put the .cs into a class library project and reference the resulting dll from both the windows and web applications. Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.