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

筅森魡賤 提交于 2020-01-13 07:40:12

问题


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?


回答1:


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



来源:https://stackoverflow.com/questions/11736628/how-can-i-convert-a-console-application-to-a-dll

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!