Skip to content

Commit a80e6ef

Browse files
committed
Remove workaround now that the bootstrap SDK has the fix for the workaround.
1 parent 266b947 commit a80e6ef

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

eng/tools/GenerateFiles/Directory.Build.targets.in

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,7 @@
8080
<DefaultRuntimeFrameworkVersion Condition=" '$(IsServicingBuild)' != 'true' AND
8181
'%(TargetFramework)' == '${DefaultNetCoreTargetFramework}' AND
8282
'$(TargetLatestDotNetRuntime)' != 'false' ">${MicrosoftNETCoreAppRuntimeVersion}</DefaultRuntimeFrameworkVersion>
83-
<!-- Workaround https://github.com/dotnet/sdk/pull/45487: The .NET SDK requires the crossgen2 host runtime identifier to be in the runtime pack runtime identifiers list. -->
84-
<RuntimePackRuntimeIdentifiers Condition="'$(DotNetBuild)' == 'true'">%(RuntimePackRuntimeIdentifiers);$(NETCoreSdkRuntimeIdentifier);$(TargetRuntimeIdentifier)</RuntimePackRuntimeIdentifiers>
83+
<RuntimePackRuntimeIdentifiers Condition="'$(DotNetBuild)' == 'true'">%(RuntimePackRuntimeIdentifiers);$(TargetRuntimeIdentifier)</RuntimePackRuntimeIdentifiers>
8584
</KnownFrameworkReference>
8685

8786
<KnownAppHostPack Update="Microsoft.NETCore.App">

0 commit comments

Comments
 (0)