set the RID for tests in netfx (#1516)

This commit is contained in:
Andrew Stanton-Nurse 2018-02-28 14:09:11 -08:00 committed by GitHub
parent 8908eec6e7
commit 9c74991ad6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 3 deletions

View File

@ -1,4 +1,4 @@
<Project>
<Project>
<Import Project="..\Directory.Build.props" />
<PropertyGroup>
@ -6,6 +6,7 @@
<StandardTestTfms>$(DeveloperBuildTestTfms)</StandardTestTfms>
<StandardTestTfms Condition=" '$(DeveloperBuild)' != 'true' ">netcoreapp2.1;netcoreapp2.0</StandardTestTfms>
<StandardTestTfms Condition=" '$(DeveloperBuild)' != 'true' AND '$(OS)' == 'Windows_NT' ">$(StandardTestTfms);net461</StandardTestTfms>
<RuntimeIdentifier Condition="'$(TargetFramework)' == 'net461'">win7-x86</RuntimeIdentifier>
</PropertyGroup>
<ItemGroup>

View File

@ -2,8 +2,6 @@
<PropertyGroup>
<TargetFrameworks>$(StandardTestTfms)</TargetFrameworks>
<RuntimeIdentifier Condition="'$(TargetFramework)' == 'net461'">win7-x86</RuntimeIdentifier>
</PropertyGroup>
<ItemGroup Condition="'$(TargetFramework)' == 'net461'">