How to debug a class library in Visual Studio

前端 未结 4 1103
爱一瞬间的悲伤
爱一瞬间的悲伤 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:43

    Create a unit test project for the class library by using the right-click "Create Unit Tests" in a class/method in the library. I would recommend downloading TestDriven.NET and using the right-click test runner in it.

提交回复
热议问题