title: Which TargetFrameworks to use for mstest Unit Test projects to test .NET Standard and Multi Target Libraries?
body: <p>Consider a multi-target project of a library for multiple target frameworks. In the csproj file of my library I use:
  <code>&lt;TargetFrameworks&gt;net452;net45;net40;netstandard2.0;netstandard1.6;netstandard1.4&lt;/TargetFrameworks&gt;</code>.
  In my unit test I want to test the library whether it works correctly on multiple platforms and frameworks.</p>
  <p><strong>The question:</strong>
  Which target Target Framework Monikers should I pass to the csproj file tag <code>TargetFrameworks</code> of my unit test project for .NET Core and the new .NET5 and .NET6 platform/frameworks?</p>
  <p>I consider the following: <code>netcoreapp5</code>, <code>net5.0</code>, <code>net5.0-windows</code> - but I am not sure.
  What is the difference between these ones?</p>
  <p>And is it possible to always test against the latest version of .NET 5, for instance using wildcards (<code>net5.*</code>). So I don't need to update my unit test project for every new minor release of the framework?</p>