Skip to content

Commit

Permalink
Don't infer rid any time outside of publish
Browse files Browse the repository at this point in the history
  • Loading branch information
nagilson committed Nov 17, 2022
1 parent b6899d0 commit c38a2f0
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -72,11 +72,12 @@ Copyright (c) .NET Foundation. All rights reserved.
'$(RuntimeIdentifier)' == '' and
'$(_IsExecutable)' == 'true' and '$(IsTestProject)' != 'true' and
'$(IsRidAgnostic)' != 'true' and
'$(_IsPublishing)' == 'true' and
(
'$(SelfContained)' == 'true' or
('$(_IsPublishing)' == 'true' and '$(PublishReadyToRun)' == 'true') or
('$(_IsPublishing)' == 'true' and '$(PublishSingleFile)' == 'true') or
('$(_IsPublishing)' == 'true' and '$(PublishAot)' == 'true')
'$(PublishReadyToRun)' == 'true' or
'$(PublishSingleFile)' == 'true' or
'$(PublishAot)' == 'true'
)">true</UseCurrentRuntimeIdentifier>
</PropertyGroup>

Expand Down

0 comments on commit c38a2f0

Please sign in to comment.