Debugging a dotnet class library

Sami C.
1 min readAug 13, 2019

--

A simple way to run a dotnet class library is to use the dotnet run command.

dotnet run command

The problem with the dotnet run command is that debugging is not possible, because the process is not attached. That’s why the best way to run a class library is to use the UI and create a new instance in debug mode. This opens up a new instance AND allows for debugging!

Happy coding!

--

--

Sami C.
Sami C.

Written by Sami C.

Freelance Software Engineer

No responses yet