There are several related questions/issues to this (ie. #1017), so this might be more of a guidance question.
Our ApiPort tests use ilasm to compile IL files and verify that our MetadataReader is working correctly. (ex. Microsoft.Fx.Portability.MetadataReader.Tests.csproj.
It currently only works on .NET 4.6, but we want to be able to run this test on Linux as well to make sure our MetadataReader works on all platforms.
What is the solution here?
When I set: <RuntimeIdentifiers>win7-x86;linux-x64</RuntimeIdentifiers>, all tests when running against both .NET 4.6 and .NETCoreApp2.1 because ildasm cannot be located (since it is not copied to the OuputDirectory).
There are several related questions/issues to this (ie. #1017), so this might be more of a guidance question.
Our ApiPort tests use ilasm to compile IL files and verify that our MetadataReader is working correctly. (ex. Microsoft.Fx.Portability.MetadataReader.Tests.csproj.
It currently only works on .NET 4.6, but we want to be able to run this test on Linux as well to make sure our MetadataReader works on all platforms.
What is the solution here?
When I set:
<RuntimeIdentifiers>win7-x86;linux-x64</RuntimeIdentifiers>, all tests when running against both .NET 4.6 and .NETCoreApp2.1 because ildasm cannot be located (since it is not copied to the OuputDirectory).