File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
src/Tasks/Microsoft.NET.Build.Tasks/targets Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -162,19 +162,19 @@ Copyright (c) .NET Foundation. All rights reserved.
162162 Condition =" '$(TargetFrameworkIdentifier)' == '.NETCoreApp' and '$(HasRuntimeOutput)' == 'true'" >
163163
164164 <!-- The following RID errors are asserts, and we don't expect them to ever occur. The error message is added as a safeguard.-->
165- <NETSdkError Condition =" '$(SelfContained)' == 'true' and '$(RuntimeIdentifier)' == ''"
165+ <NETSdkError Condition =" '$(SelfContained)' == 'true' and '$(RuntimeIdentifier)' == '' and '$(RuntimeIdentifiers)' == '' "
166166 ResourceName =" ImplicitRuntimeIdentifierResolutionForPublishPropertyFailed"
167167 FormatArguments =" SelfContained" />
168168
169- <NETSdkError Condition =" '$(PublishReadyToRun)' == 'true' and '$(RuntimeIdentifier)' == ''"
169+ <NETSdkError Condition =" '$(PublishReadyToRun)' == 'true' and '$(RuntimeIdentifier)' == '' and '$(RuntimeIdentifiers)' == '' "
170170 ResourceName =" ImplicitRuntimeIdentifierResolutionForPublishPropertyFailed"
171171 FormatArguments =" PublishReadyToRun" />
172172
173- <NETSdkError Condition =" '$(PublishSingleFile)' == 'true' and '$(RuntimeIdentifier)' == ''"
173+ <NETSdkError Condition =" '$(PublishSingleFile)' == 'true' and '$(RuntimeIdentifier)' == '' and '$(RuntimeIdentifiers)' == '' "
174174 ResourceName =" ImplicitRuntimeIdentifierResolutionForPublishPropertyFailed"
175175 FormatArguments =" PublishSingleFile" />
176176
177- <NETSdkError Condition =" '$(PublishAot)' == 'true' and '$(RuntimeIdentifier)' == ''"
177+ <NETSdkError Condition =" '$(PublishAot)' == 'true' and '$(RuntimeIdentifier)' == '' and '$(RuntimeIdentifiers)' == '' "
178178 ResourceName =" ImplicitRuntimeIdentifierResolutionForPublishPropertyFailed"
179179 FormatArguments =" PublishAot" />
180180
You can’t perform that action at this time.
0 commit comments