Skip to content

Commit b45e247

Browse files
mmitchewtgodbe
authored andcommitted
[release/3.0] Stabilize package versions (#14933)
* Stabilize package versions * Fixup UseProjectReferences * Update condition for UseLatestPackageReference * Add package references for transitive corefx packages for servicing builds * Allow SuppressBaselineReference in 3.0.1 * Add App.Ref and App.Runtime to patchConfig.props and update targetingt pack version * Add project templates to patchConfig.props * Attempt to fix source build * Build Runtime pack nupkg * Zip Targeting Pack in 3.0.1 * Is301 -> IsTargetingPackPatching * Commit missed file * Update patch config logic to include ProjectTemplates * Fix runtimeconfig.json We need to specify the latest version of NETCore.App in runtimeconfig.json * Add Projects needed for templates to patchConfig.props * Try fixing logic for _GetPackageVersionInfo * Skip InProcessWebSite standalone on ARM * Include extensions ref assemblies if used * Update package override contents * Add exclusions for unneeded ref assembly references
1 parent 0f54cd7 commit b45e247

File tree

11 files changed

+63
-17
lines changed

11 files changed

+63
-17
lines changed

Directory.Build.props

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,11 +90,14 @@
9090
<RuntimeInstallerBaseName>aspnetcore-runtime</RuntimeInstallerBaseName>
9191
<TargetingPackInstallerBaseName>aspnetcore-targeting-pack</TargetingPackInstallerBaseName>
9292

93+
<!-- 3.0.1 is a special servicing release since we're building the targeting pack. We need this condition in a few places. -->
94+
<IsTargetingPackPatching Condition="'$(VersionPrefix)' == '3.0.1'">true</IsTargetingPackPatching>
95+
9396
<!-- Used to only produce targeting pack installers/packages once per major.minor. -->
9497
<IsTargetingPackBuilding Condition="'$(AspNetCorePatchVersion)' != '0' OR '$(DotNetBuildFromSource)' == 'true'">false</IsTargetingPackBuilding>
9598

9699
<!-- We need to build the targeting pack in 3.0.1. We can remove this line from any branch other than release/3.0 -->
97-
<IsTargetingPackBuilding Condition="'$(VersionPrefix)' == '3.0.1' AND '$(DotNetBuildFromSource)' != 'true'">true</IsTargetingPackBuilding>
100+
<IsTargetingPackBuilding Condition="'$(IsTargetingPackPatching)' == 'true' AND '$(DotNetBuildFromSource)' != 'true'">true</IsTargetingPackBuilding>
98101

99102
<!--
100103
Archives and installers using this prefix are intended for internal-use only.

Directory.Build.targets

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,10 @@
6060

6161
<PropertyGroup
6262
Condition=" '$(IsPackable)' != 'false' AND '$(AspNetCorePatchVersion)' != '0' AND '$(DisableServicingFeatures)' != 'true' ">
63-
<IsPackageInThisPatch Condition="'$(IsPackageInThisPatch)' == ''">$(PackagesInPatch.Contains(' $(PackageId);'))</IsPackageInThisPatch>
63+
<!-- Remove RID to ensure PackagesInPatch only needs to specify the RID-less package name -->
64+
<PackageIdWithoutRID>$(PackageId)</PackageIdWithoutRID>
65+
<PackageIdWithoutRID Condition="'$(RuntimeIdentifier)' != ''">$(PackageId.Replace('.$(RuntimeIdentifier)',''))</PackageIdWithoutRID>
66+
<IsPackageInThisPatch Condition="'$(IsPackageInThisPatch)' == ''">$(PackagesInPatch.Contains(' $(PackageIdWithoutRID);'))</IsPackageInThisPatch>
6467
</PropertyGroup>
6568

6669
<PropertyGroup Condition=" '$(IsPackable)' != 'false' AND '$(IsServicingBuild)' == 'true' ">
@@ -70,6 +73,10 @@
7073
<IsPackable Condition=" '$(IsPackageInThisPatch)' != 'true' ">false</IsPackable>
7174
</PropertyGroup>
7275

76+
<PropertyGroup>
77+
<PackageVersionForPackageVersionInfo>$(PackageVersion)</PackageVersionForPackageVersionInfo>
78+
</PropertyGroup>
79+
7380
<PropertyGroup Condition=" '$(IsPackageInThisPatch)' != 'true' AND '$(BaselinePackageVersion)' != '' AND '$(IsServicingBuild)' == 'true' ">
7481
<!-- This keeps assembly and package versions consistent across patches. If a package is not included in a patch, its version should stay at the baseline. -->
7582
<AssemblyVersion Condition="$(BaselinePackageVersion.Contains('-'))">$(BaselinePackageVersion.Substring(0, $(BaselinePackageVersion.IndexOf('-')))).0</AssemblyVersion>
@@ -83,6 +90,9 @@
8390
-->
8491
<Version Condition="'$(NoBuild)' == 'true' AND '$(DesignTimeBuild)' == 'true'">$(BaselinePackageVersion)</Version>
8592
<PackageVersion Condition="'$(NoBuild)' == 'true' AND '$(DesignTimeBuild)' == 'true'">$(BaselinePackageVersion)</PackageVersion>
93+
94+
<!-- For servicing builds, we want to resolve basline versions of project packages that aren't building, always -->
95+
<PackageVersionForPackageVersionInfo>$(BaselinePackageVersion)</PackageVersionForPackageVersionInfo>
8696
</PropertyGroup>
8797

8898
<PropertyGroup>

eng/Dependencies.props

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,12 +82,14 @@ and are generated based on the last package release.
8282
<LatestPackageReference Include="Microsoft.Extensions.WebEncoders" Version="$(MicrosoftExtensionsWebEncodersPackageVersion)" />
8383
<LatestPackageReference Include="Microsoft.JSInterop" Version="$(MicrosoftJSInteropPackageVersion)" />
8484
<LatestPackageReference Include="Microsoft.Win32.Registry" Version="$(MicrosoftWin32RegistryPackageVersion)" />
85+
<LatestPackageReference Include="Microsoft.Win32.SystemEvents" Version="$(MicrosoftWin32SystemEventsPackageVersion)" />
8586
<LatestPackageReference Include="System.Buffers" Version="$(SystemBuffersPackageVersion)" />
8687
<LatestPackageReference Include="System.CodeDom" Version="$(SystemCodeDomPackageVersion)" />
8788
<LatestPackageReference Include="System.CommandLine.Experimental" Version="$(SystemCommandlineExperimentalPackageVersion)" />
8889
<LatestPackageReference Include="System.ComponentModel" Version="$(SystemComponentModelPackageVersion)" />
8990
<LatestPackageReference Include="System.ComponentModel.Annotations" Version="$(SystemComponentModelAnnotationsPackageVersion)" />
9091
<LatestPackageReference Include="System.Diagnostics.EventLog" Version="$(SystemDiagnosticsEventLogPackageVersion)" />
92+
<LatestPackageReference Include="System.Drawing.Common" Version="$(SystemDrawingCommonPackageVersion)" />
9193
<LatestPackageReference Include="System.IO.Pipelines" Version="$(SystemIOPipelinesPackageVersion)" />
9294
<LatestPackageReference Include="System.Net.Http" Version="$(SystemNetHttpPackageVersion)" />
9395
<LatestPackageReference Include="System.Reflection.Metadata" Version="$(SystemReflectionMetadataPackageVersion)" />
@@ -99,6 +101,7 @@ and are generated based on the last package release.
99101
<LatestPackageReference Include="System.Security.Principal.Windows" Version="$(SystemSecurityPrincipalWindowsPackageVersion)" />
100102
<LatestPackageReference Include="System.Text.Json" Version="$(SystemTextJsonPackageVersion)" />
101103
<LatestPackageReference Include="System.Threading.Channels" Version="$(SystemThreadingChannelsPackageVersion)" />
104+
<LatestPackageReference Include="System.Windows.Extensions" Version="$(SystemWindowsExtensionsPackageVersion)" />
102105

103106
<!-- Runtime packages required for crossgen -->
104107
<LatestPackageReference Include="microsoft.netcore.app.runtime.win-x64" Version="$(MicrosoftNETCoreAppRuntimeVersion)" />

eng/PatchConfig.props

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ This file contains a list of the package IDs which are patching in a given relea
55
CAUTION: due to limitations in MSBuild, the format of the PackagesInPatch property is picky.
66
When adding a new package, make sure the new line ends with a semicolon and starts with a space.
77
8+
NOTE: Package IDs may be different from the project name. For example Microsoft.DotNet.Web.ProjectTemplates.csproj
9+
Produces Microsoft.DotNet.Web.ProjectTemplates.$(AspNetCoreMajorVersion).$(AspNetCoreMinorVersion) package. Also,
10+
for the sake of simplicity, Microsoft.AspNetCore.App.Runtime.{RID} package IDs will be resolved as
11+
Microsoft.AspNetCore.App.Runtime in this file; you do not need to append the RIDs when addint it to this file.
12+
813
Directory.Build.props checks this property using the following condition:
914
<IsPackageInThisPatch>$(PackagesInPatch.Contains(' $(PackageId);'))</IsPackageInThisPatch>
1015
-->
@@ -25,6 +30,12 @@ Directory.Build.props checks this property using the following condition:
2530
Microsoft.AspNetCore.CookiePolicy;
2631
Microsoft.AspNetCore.HttpsPolicy;
2732
Microsoft.AspNetCore.AspNetCoreModuleV2;
33+
Microsoft.AspNetCore.App.Ref;
34+
Microsoft.AspNetCore.App.Runtime;
35+
Microsoft.DotNet.Web.Client.ItemTemplates;
36+
Microsoft.DotNet.Web.ItemTemplates;
37+
Microsoft.DotNet.Web.ProjectTemplates.3.0;
38+
Microsoft.DotNet.Web.Spa.ProjectTemplates.3.0;
2839
</PackagesInPatch>
2940
</PropertyGroup>
3041
</Project>

eng/Versions.props

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<!--
1313
When StabilizePackageVersion is set to 'true', this branch will produce stable outputs for 'Shipping' packages
1414
-->
15-
<StabilizePackageVersion Condition="'$(StabilizePackageVersion)' == ''">false</StabilizePackageVersion>
15+
<StabilizePackageVersion Condition="'$(StabilizePackageVersion)' == ''">true</StabilizePackageVersion>
1616
<DotNetFinalVersionKind Condition="'$(StabilizePackageVersion)' == 'true'">release</DotNetFinalVersionKind>
1717
<IncludePreReleaseLabelInPackageVersion>true</IncludePreReleaseLabelInPackageVersion>
1818
<IncludePreReleaseLabelInPackageVersion Condition=" '$(DotNetFinalVersionKind)' == 'release' ">false</IncludePreReleaseLabelInPackageVersion>
@@ -37,7 +37,7 @@
3737
<!-- TargetingPackVersionPrefix is used by projects, like .deb and .rpm, which use slightly different version formats. -->
3838
<TargetingPackVersionPrefix>$(VersionPrefix)</TargetingPackVersionPrefix>
3939
<!-- Targeting packs do not produce patch versions in servicing builds. No API changes are allowed in patches. -->
40-
<TargetingPackVersionPrefix Condition="'$(IsServicingBuild)' == 'true'">$(AspNetCoreMajorVersion).$(AspNetCoreMinorVersion).0</TargetingPackVersionPrefix>
40+
<TargetingPackVersionPrefix Condition="'$(IsServicingBuild)' == 'true'">$(AspNetCoreMajorVersion).$(AspNetCoreMinorVersion).1</TargetingPackVersionPrefix>
4141
<ExperimentalVersionPrefix>0.3.$(AspNetCorePatchVersion)</ExperimentalVersionPrefix>
4242
<!-- ANCM versioning is intentionally 10 + AspNetCoreMajorVersion because earlier versions of ANCM shipped as 8.x. -->
4343
<AspNetCoreModuleVersionMajor>$([MSBuild]::Add(10, $(AspNetCoreMajorVersion)))</AspNetCoreModuleVersionMajor>

eng/targets/Packaging.targets

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<ItemGroup>
1414
<_ProjectPathWithVersion Include="$(MSBuildProjectFullPath)">
1515
<PackageId>$(PackageId)</PackageId>
16-
<PackageVersion>$(PackageVersion)</PackageVersion>
16+
<PackageVersion>$(PackageVersionForPackageVersionInfo)</PackageVersion>
1717
<VersionSuffix>$(VersionSuffix)</VersionSuffix>
1818
<VersionVariableName>$(PackageId.Replace('.',''))PackageVersion</VersionVariableName>
1919
</_ProjectPathWithVersion>

eng/targets/ResolveReferences.targets

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,10 @@
3333
* preparing a new major or minor release (i.e. a non-servicing builds)
3434
* when a project is a test or sample project
3535
* when a package is releasing a new patch (we like to update external dependencies in patches when possible)
36+
* the targeting pack is being patched
3637
-->
3738
<UseLatestPackageReferences Condition=" '$(UseLatestPackageReferences)' == '' AND '$(IsServicingBuild)' != 'true' ">true</UseLatestPackageReferences>
39+
<UseLatestPackageReferences Condition=" '$(UseLatestPackageReferences)' == '' AND '$(IsTargetingPackPatching)' == 'true' ">true</UseLatestPackageReferences>
3840
<UseLatestPackageReferences Condition=" '$(UseLatestPackageReferences)' == '' AND '$(IsImplementationProject)' != 'true' ">true</UseLatestPackageReferences>
3941
<UseLatestPackageReferences
4042
Condition=" '$(UseLatestPackageReferences)' == '' AND '$(IsImplementationProject)' == 'true' AND '$(IsPackable)' == 'true' ">true</UseLatestPackageReferences>
@@ -44,9 +46,11 @@
4446
Projects should only use the project references instead of baseline package references when:
4547
* preparing a new major or minor release (i.e. a non-servicing builds)
4648
* when a project is a test or sample project
49+
* the targeting pack is being patched
4750
We don't use project references between components in servicing builds between compontents to preserve the baseline as much as possible.
4851
-->
4952
<UseProjectReferences Condition=" '$(UseProjectReferences)' == '' AND '$(IsServicingBuild)' != 'true' ">true</UseProjectReferences>
53+
<UseProjectReferences Condition=" '$(UseProjectReferences)' == '' AND '$(IsTargetingPackPatching)' == 'true' ">true</UseProjectReferences>
5054
<UseProjectReferences Condition=" '$(UseProjectReferences)' == '' AND '$(IsImplementationProject)' != 'true' ">true</UseProjectReferences>
5155
<UseProjectReferences Condition=" '$(UseProjectReferences)' == '' ">false</UseProjectReferences>
5256

@@ -142,8 +146,8 @@
142146

143147
<!-- Identify if any references were present in the last release of this package, but have been removed. -->
144148
<UnusedBaselinePackageReference Include="@(BaselinePackageReference)" Exclude="@(Reference);@(_ProjectReferenceByAssemblyName);@(PackageReference)" />
145-
<!-- Only allow suppressing baseline changes in non-servicing builds. -->
146-
<UnusedBaselinePackageReference Remove="@(SuppressBaselineReference)" Condition="'$(IsServicingBuild)' != 'true'"/>
149+
<!-- Only allow suppressing baseline changes in non-servicing builds, or if the targeting pack is being patched. -->
150+
<UnusedBaselinePackageReference Remove="@(SuppressBaselineReference)" Condition="'$(IsServicingBuild)' != 'true' OR '$(IsTargetingPackPatching)' == 'true' "/>
147151

148152
<!--
149153
MSBuild does not provide a way to join on matching identities in a Condition,

src/Framework/ref/Microsoft.AspNetCore.App.Ref.csproj

Lines changed: 21 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,8 @@ This package is an internal implementation of the .NET Core SDK and is not meant
7878
<!-- If this project won't produce a package, don't bother building anything. -->
7979
<BuildDependsOn Condition="'$(IsTargetingPackBuilding)' != 'false'">
8080
$(BuildDependsOn);
81-
GeneratePackageConflictManifest;
8281
_ResolveTargetingPackContent;
82+
GeneratePackageConflictManifest;
8383
IncludeFrameworkListFile;
8484
_BatchCopyToLayoutTargetDir;
8585
_InstallTargetingPackIntoLocalDotNet;
@@ -110,15 +110,27 @@ This package is an internal implementation of the .NET Core SDK and is not meant
110110
</ItemGroup>
111111

112112
<JoinItems Left="@(ReferencePathWithRefAssemblies)" Right="@(_AvailableExtensionsRefAssemblies)" LeftKey="Filename" RightKey="Filename" ItemSpecToUse="Left">
113+
<Output TaskParameter="JoinResult" ItemName="_ReferencedExtensionsRefAssemblies" />
114+
</JoinItems>
115+
116+
<JoinItems Left="@(_ReferencedExtensionsRefAssemblies)" Right="@(ExternalAspNetCoreAppReference)" LeftKey="Filename" RightKey="Identity" ItemSpecToUse="Left">
117+
<Output TaskParameter="JoinResult" ItemName="_SelectedExtensionsRefs" />
118+
</JoinItems>
119+
120+
<JoinItems Left="@(ReferencePathWithRefAssemblies)" Right="@(_SelectedExtensionsRefs)" LeftKey="Filename" RightKey="Filename" ItemSpecToUse="Left">
113121
<Output TaskParameter="JoinResult" ItemName="_SelectedExtensionsRefAssemblies" />
114122
</JoinItems>
115123

116124
<ItemGroup>
125+
<!-- Exclude transitive external dependencies that are not directly referenced by projects in AspNetCore or Extensions -->
117126
<AspNetCoreReferenceAssemblyPath
118127
Include="@(ReferencePathWithRefAssemblies)"
119128
Exclude="
120-
@(_SelectedExtensionsRefAssemblies);
129+
@(_ReferencedExtensionsRefAssemblies);
121130
@(ReferencePathWithRefAssemblies->WithMetadataValue('NuGetPackageId', 'Microsoft.NETCore.App.Ref'));
131+
@(ReferencePathWithRefAssemblies->WithMetadataValue('NuGetPackageId', 'System.Security.Cryptography.Pkcs'));
132+
@(ReferencePathWithRefAssemblies->WithMetadataValue('NuGetPackageId', 'System.Drawing.Common'));
133+
@(ReferencePathWithRefAssemblies->WithMetadataValue('NuGetPackageId', 'Microsoft.Win32.SystemEvents'));
122134
@(ReferencePathWithRefAssemblies->WithMetadataValue('IsReferenceAssembly', 'false'));
123135
@(ReferencePathWithRefAssemblies->WithMetadataValue('ReferenceGrouping', 'Microsoft.NETCore.App'));" />
124136

@@ -148,16 +160,17 @@ This package is an internal implementation of the .NET Core SDK and is not meant
148160
</Target>
149161

150162
<Target Name="GeneratePackageConflictManifest"
151-
DependsOnTargets="ResolveReferences"
163+
DependsOnTargets="_ResolveTargetingPackContent"
152164
Inputs="$(MSBuildAllProjects)"
153165
Outputs="$(TargetDir)$(PackageConflictManifestFileName)">
154-
155166
<ItemGroup>
156167
<!-- Use package version for non-Extensions references -->
157-
<_AspNetCoreAppPackageOverrides Include="@(ReferencePath->'%(NuGetPackageId)|%(NuGetPackageVersion)')" Condition="!Exists('$(MicrosoftInternalExtensionsRefsPath)%(ReferencePath.NuGetPackageId).dll') AND '%(ReferencePath.NuGetPackageId)' != 'Microsoft.NETCore.App' AND '%(ReferencePath.NuGetSourceType)' == 'Package' " />
168+
<_AspNetCoreAppPackageOverrides Include="@(AspNetCoreReferenceAssemblyPath->'%(NuGetPackageId)|%(NuGetPackageVersion)')" Condition="!Exists('$(MicrosoftInternalExtensionsRefsPath)%(AspNetCoreReferenceAssemblyPath.NuGetPackageId).dll') AND '%(AspNetCoreReferenceAssemblyPath.NuGetPackageId)' != 'Microsoft.NETCore.App' AND '%(AspNetCoreReferenceAssemblyPath.NuGetPackageId)' != 'Microsoft.Internal.Extensions.Refs' AND '%(AspNetCoreReferenceAssemblyPath.NuGetSourceType)' == 'Package' " />
169+
158170
<!-- Pin version for extensions references -->
159-
<_AspNetCoreAppPackageOverrides Include="@(ReferencePath->'%(NuGetPackageId)|$(MicrosoftInternalExtensionsRefsPackageOverrideVersion)')" Condition="Exists('$(MicrosoftInternalExtensionsRefsPath)%(ReferencePath.NuGetPackageId).dll') AND '%(ReferencePath.NuGetPackageId)' != 'Microsoft.NETCore.App' AND '%(ReferencePath.NuGetSourceType)' == 'Package' " />
160-
<_AspNetCoreAppPackageOverrides Include="@(ReferencePath->'%(FileName)|$(ReferencePackSharedFxVersion)')" Condition=" '%(ReferencePath.ReferenceSourceTarget)' == 'ProjectReference' AND '%(ReferencePath.IsReferenceAssembly)' == 'true' " />
171+
<_AspNetCoreAppPackageOverrides Include="@(_SelectedExtensionsRefAssemblies->'%(FileName)|$(MicrosoftInternalExtensionsRefsPackageOverrideVersion)')" />
172+
173+
<_AspNetCoreAppPackageOverrides Include="@(AspNetCoreReferenceAssemblyPath->'%(FileName)|$(ReferencePackSharedFxVersion)')" Condition=" '%(AspNetCoreReferenceAssemblyPath.ReferenceSourceTarget)' == 'ProjectReference' AND '%(AspNetCoreReferenceAssemblyPath.IsReferenceAssembly)' == 'true' " />
161174
</ItemGroup>
162175

163176
<WriteLinesToFile
@@ -195,7 +208,7 @@ This package is an internal implementation of the .NET Core SDK and is not meant
195208
<Target Name="_CreateTargetingPackArchive"
196209
Inputs="@(RefPackContent)"
197210
Outputs="$(ZipArchiveOutputPath);$(TarArchiveOutputPath)"
198-
Condition="'$(IsPackable)' == 'true'">
211+
Condition="'$(IsPackable)' == 'true' OR '$(IsTargetingPackPatching)' == 'true' ">
199212
<PropertyGroup>
200213
<_TarCommand>tar</_TarCommand>
201214
<_TarCommand Condition="Exists('$(RepoRoot).tools\tar.exe')">$(RepoRoot).tools\tar.exe</_TarCommand>

src/Framework/src/Microsoft.AspNetCore.App.Runtime.csproj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,8 @@ This package is an internal implementation of the .NET Core SDK and is not meant
5656
<!-- Always generated, even though output type == Library -->
5757
<GenerateRuntimeConfigurationFiles>true</GenerateRuntimeConfigurationFiles>
5858
<ProjectRuntimeConfigFileName>$(SharedFxName).runtimeconfig.json</ProjectRuntimeConfigFileName>
59+
<!-- Target the latest runtime patch so the latest version is specified in runtimeconfig.json -->
60+
<TargetLatestRuntimePatch>true</TargetLatestRuntimePatch>
5961

6062
<!-- Suppress .deps generation (we have to customize its layout. -->
6163
<GenerateDependencyFile>false</GenerateDependencyFile>

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
<ItemGroup Condition="'$(OS)' == 'Windows_NT'">
1313
<TestAssetPublishProfile Include="Portable" Properties="TargetFramework=netcoreapp3.0" />
14-
<TestAssetPublishProfile Include="Standalone-x64" Properties="RuntimeIdentifier=win-x64;" />
14+
<TestAssetPublishProfile Condition="'$(TargetArchitecture)' != 'arm'" Include="Standalone-x64" Properties="RuntimeIdentifier=win-x64;" />
1515
</ItemGroup>
1616

1717
<ItemGroup>

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
<ItemGroup Condition="'$(OS)' == 'Windows_NT'">
1111
<TestAssetPublishProfile Include="Portable" Properties="TargetFramework=netcoreapp3.0" />
12-
<TestAssetPublishProfile Include="Standalone-x64" Properties="RuntimeIdentifier=win-x64;" />
12+
<TestAssetPublishProfile Condition="'$(TargetArchitecture)' != 'arm'" Include="Standalone-x64" Properties="RuntimeIdentifier=win-x64;" />
1313
</ItemGroup>
1414

1515
<ItemGroup>

0 commit comments

Comments
 (0)