On Wed, 5 Apr 2023, at 1:15 PM, Richard Kaye wrote: > Apparently because the solution is a "Helper" class library, > direct debugging is not possible.
How you test it is to add another class library project to the solution. Then install the NUnit package (or MSTest, or one of the others). Create a class like this in the test project: https://gist.github.com/AlanPBourke/cb615f95508a0639605cc7038fe5a7a2 Those methods decorated with [Test] will then be visible in Visual Studio Test Explorer (View menu\Test Explorer). You can then run the tests individually or as a group. If you want to debug, set a breakpoint in your class being tested, then right-click on the test in Test Explorer and select 'Debug'. Debugging then will proceed as normal. -- Alan Bourke alanpbourke (at) fastmail (dot) fm _______________________________________________ Post Messages to: ProFox@leafe.com Subscription Maintenance: https://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: https://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: https://leafe.com/archives This message: https://leafe.com/archives/byMID/b17f759a-dd46-4b20-9066-ebc4b4d2d...@app.fastmail.com ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.