My solution is set up with projects called \"ProjectName\" with \"ProjectName\".Tests containing my unit tests. I\'d like to exclude the test projects from the code coverage
You can exclude it by excluding the project dll or by using project name itself also. E.g. -
Fabrikam.Math.UnitTest.dll
This MSDN link is useful for it.