Skip to content

Commit

Permalink
only do rid inference on publishaot etc if is publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
nagilson committed Nov 17, 2022
1 parent 011a2d3 commit b6899d0
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,9 @@ Copyright (c) .NET Foundation. All rights reserved.
'$(IsRidAgnostic)' != 'true' and
(
'$(SelfContained)' == 'true' or
'$(PublishReadyToRun)' == 'true' or
'$(PublishSingleFile)' == 'true' or
'$(PublishAot)' == 'true'
('$(_IsPublishing)' == 'true' and '$(PublishReadyToRun)' == 'true') or
('$(_IsPublishing)' == 'true' and '$(PublishSingleFile)' == 'true') or
('$(_IsPublishing)' == 'true' and '$(PublishAot)' == 'true')
)">true</UseCurrentRuntimeIdentifier>
</PropertyGroup>

Expand Down

0 comments on commit b6899d0

Please sign in to comment.