Possibly save 1 hour of your time: If you would like to create unit tests for your library, you can create the unit tests in a different project to separate the tests and the code.
1. Typically, a good convention is use the same project name and append dot Tests. i.e. MyProjectName.Tests
2. Then you will need to add reference to your project.
3. To access the methods in your project from the tests project, you will need to mark them internal access unless it is already marked as public access.
4. In the AssemblyInfo.cs of your project, you need to add the following the make your project visible to your tests project.
There are other methods of testing your protected or private methods, but I find this solution the easiest to configure and maintain.