Skip to content

Commit 38d97ed

Browse files
authored
Condition RIDs on which target RIDs are available when doing a VMR build (#55172)
1 parent b932bca commit 38d97ed

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

src/Servers/IIS/IIS/test/testassets/TestTasks/TestTasks.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
<OutputType>Exe</OutputType>
55
<TargetFramework>$(DefaultNetCoreTargetFramework)</TargetFramework>
66
<RuntimeIdentifiers>win-x64;linux-x64;osx-x64</RuntimeIdentifiers>
7+
<RuntimeIdentifiers Condition="'$(DotNetBuild)' == 'true'">$(TargetRuntimeIdentifier)</RuntimeIdentifiers>
78

89
<!--
910
This is used as a package by ASP.NET benchmarking infrastructure. It is meant for internal use only. See also

src/Servers/IIS/build/testsite.props

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<Project>
22
<PropertyGroup>
33
<RuntimeIdentifiers>$(RuntimeIdentifiers);win-x64;win-x86</RuntimeIdentifiers>
4+
<RuntimeIdentifiers Condition="'$(DotNetBuild)' == 'true'">$(TargetRuntimeIdentifier)</RuntimeIdentifiers>
45
<Platforms>x64;x86</Platforms>
56
<IISExpressAppHostConfig>$(MSBuildThisFileDirectory)applicationhost.config</IISExpressAppHostConfig>
67
<IISAppHostConfig>$(MSBuildThisFileDirectory)applicationhost.iis.config</IISAppHostConfig>

src/Servers/testassets/ServerComparison.TestSites/ServerComparison.TestSites.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
<PropertyGroup>
66
<TargetFramework>$(DefaultNetCoreTargetFramework)</TargetFramework>
77
<RuntimeIdentifiers>win-x86;win-x64;linux-x64;osx-x64</RuntimeIdentifiers>
8+
<RuntimeIdentifiers Condition="'$(DotNetBuild)' == 'true'">$(TargetRuntimeIdentifier)</RuntimeIdentifiers>
89
<InProcessTestSite>true</InProcessTestSite>
910
</PropertyGroup>
1011

0 commit comments

Comments
 (0)