user1291395
user1291395

Reputation: 231

How can I convert a console application to a .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?

Upvotes: 23

Views: 18746

Answers (1)

Shahin Dohan
Shahin Dohan

Reputation: 6922

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

enter image description here

Upvotes: 54

Related Questions