I have a few MSTest projects which need to target both netcoreapp1.1
as well as something newer such as netcoreapp3.0
I've tried most of the things suggested in:
https://www.meziantou.net/mstest-v2-testing-against-multiple-frameworks.htm
However my results are always:
dotnet test
runs only thenetcoreapp3.0
targets. None of thenetcorapp1.1
ornetcoreapp2.0
are picked up- VS2019 runs zero of the test targets, crashing with error:
StreamJsonRpc.RemoteInvocationException: The following TestContainer was not found 'C:\Projects\fact\collection\src\Fact.Extensions.Collection.Tests\bin\Debug\netcoreapp1.1\Fact.Extensions.Collection.Tests.dll'
at StreamJsonRpc.JsonRpc.<InvokeCoreAsync>d__96`1.MoveNext()