Skip to content

Commit

Permalink
[release/8.0.1xx] Add escape hatch for PublishAot without RuntimeIden…
Browse files Browse the repository at this point in the history
…tifier. Fixes #33414. (#35497)
  • Loading branch information
dsplaisted authored Sep 18, 2023
2 parents 42e61db + 0111b2f commit 25dedfc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ Copyright (c) .NET Foundation. All rights reserved.
ResourceName="ImplicitRuntimeIdentifierResolutionForPublishPropertyFailed"
FormatArguments="PublishSingleFile"/>

<NETSdkError Condition="'$(PublishAot)' == 'true' and '$(RuntimeIdentifier)' == '' and '$(_IsPublishing)' == 'true'"
<NETSdkError Condition="'$(PublishAot)' == 'true' and '$(RuntimeIdentifier)' == '' and '$(_IsPublishing)' == 'true' and '$(AllowPublishAotWithoutRuntimeIdentifier)' != 'true'"
ResourceName="ImplicitRuntimeIdentifierResolutionForPublishPropertyFailed"
FormatArguments="PublishAot"/>

Expand Down

0 comments on commit 25dedfc

Please sign in to comment.