How do I get code coverage results for .NET Standard projects created with Visual Studio 2017?
I've tried using the feature that comes with Visual Studio (Menu → Test → Analyze Code Coverage → All tests). That gives me the following report:

This is not what I expect because:
None of my actual projects are listed, instead I'm only seeing test projects.
None of my code in those test projects are listed, instead I'm seeing something called AutoGeneratedProgram.
I've tried using dotCover. It just says that it doesn't support my projects.
I've tried using OpenCover. It says nothing is covered:

Now I've run out of things to try. Any help would be appreciated!
Problem solved by adding this to my csproj:
<DebugType>Full</DebugType>
                        If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With