diff options
Diffstat (limited to 'tests/src/dir.props')
-rw-r--r-- | tests/src/dir.props | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/tests/src/dir.props b/tests/src/dir.props index fcdc55df61..ee2d7a31d7 100644 --- a/tests/src/dir.props +++ b/tests/src/dir.props @@ -66,6 +66,11 @@ </Choose> <PropertyGroup> + <TargetRid Condition="'$(__RuntimeId)' != ''">$(__RuntimeId)</TargetRid> + <TargetRid Condition="'$(__RuntimeId)' == ''">$(TestNugetRuntimeId)</TargetRid> + </PropertyGroup> + + <PropertyGroup> <TargetsUnknownUnix Condition="'$(TargetsUnix)' == 'true' AND '$(OSGroup)' != 'FreeBSD' AND '$(OSGroup)' != 'Linux' AND '$(OSGroup)' != 'OSX'">true</TargetsUnknownUnix> <Language Condition="'$(Language)' == '' and '$(MSBuildProjectExtension)' == '.csproj'">C#</Language> <Language Condition="'$(Language)' == '' and '$(MSBuildProjectExtension)' == '.ilproj'">IL</Language> @@ -90,8 +95,8 @@ <RestoreOutputPath>$(MSBuildProjectDirectory)\obj</RestoreOutputPath> <!-- Specify the target framework of the common test dependency project.json. --> - <NuGetTargetMoniker>.NETCoreApp,Version=v2.0</NuGetTargetMoniker> - <NuGetTargetMonikerShort>netcoreapp2.0</NuGetTargetMonikerShort> + <NuGetTargetMoniker>.NETCoreApp,Version=v2.1</NuGetTargetMoniker> + <NuGetTargetMonikerShort>netcoreapp2.1</NuGetTargetMonikerShort> <PrereleaseResolveNuGetPackages>true</PrereleaseResolveNuGetPackages> </PropertyGroup> |