Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I convert a console application to a .dll?

Tags:

c#

console

dll

I am trying to convert an application written in C# to a DLL. The console application takes in input from the user and resets the password by calling a method of a service that I have imported in my project. How do I convert the console application into a DLL so that, whenever the user wishes to change their password, my DLL is invoked?

like image 403
user1291395 Avatar asked Jul 31 '12 09:07

user1291395


People also ask

How do I change console application to class library?

In the Solutions Explorer window, right-click the exe project and then select Properties in the popup. Then change the Output type from Windows Application to Class Library.


1 Answers

Right-click Project -> Properties -> Application -> Output Type: 'Class Library'

enter image description here

like image 88
Shahin Dohan Avatar answered Sep 18 '22 09:09

Shahin Dohan