How to debug a class library in Visual Studio

前端 未结 4 1094
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-12-14 20:19

I am working on a class library (DLL) project in Visual Studio 2008; programming in C#. In order to test my DLL I just created a second project that is a console application

4条回答
  •  囚心锁ツ
    2020-12-14 20:47

    You could add a testing project to your current solution, then set that project as the startup project. Then, hitting F5 on your class library project will start your testing project.

提交回复
热议问题