By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,567 Members | 1,730 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,567 IT Pros & Developers. It's quick & easy.

Converting winform application into a dll class library

P: n/a
I have a standard C# windows application with one form and some logic around
it.
I need to onvert this exe into a dll class library and use it's
functionality from another exe.
Is there in easy way to do that?

Regards
Ronny

Jul 14 '08 #1
Share this Question
Share on Google+
2 Replies


P: n/a
On Jul 14, 2:47*pm, "Ronny" <ro...@giron.comwrote:
I have a standard C# windows application with one form and some logic around
it.
I need to onvert this exe into a dll class library and use it's
functionality from another exe.
Is there in easy way to do that?
If all logic you want to (re)use is already refactored into non-UI
classes, then you just need to go into project properties, Application
tab, and set Output type to "Class Library".

If not, you'll have to do the refactoring first.
Jul 14 '08 #2

P: n/a
In Visual Studio .NET 2005 or higher you can reference exe files as if they
were dll files. So possibly no conversion is needed.
>I have a standard C# windows application with one form and some logic
around
it.
I need to onvert this exe into a dll class library and use it's
functionality from another exe.
Is there in easy way to do that?

Regards
Ronny

Jul 14 '08 #3

This discussion thread is closed

Replies have been disabled for this discussion.