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?
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.
Right-click Project -> Properties -> Application -> Output Type: 'Class Library'
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With