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.
162
162
Condition =" '$(TargetFrameworkIdentifier)' == '.NETCoreApp' and '$(HasRuntimeOutput)' == 'true'" >
163
163
164
164
<!-- 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)' == '' "
166
166
ResourceName =" ImplicitRuntimeIdentifierResolutionForPublishPropertyFailed"
167
167
FormatArguments =" SelfContained" />
168
168
169
- <NETSdkError Condition =" '$(PublishReadyToRun)' == 'true' and '$(RuntimeIdentifier)' == ''"
169
+ <NETSdkError Condition =" '$(PublishReadyToRun)' == 'true' and '$(RuntimeIdentifier)' == '' and '$(RuntimeIdentifiers)' == '' "
170
170
ResourceName =" ImplicitRuntimeIdentifierResolutionForPublishPropertyFailed"
171
171
FormatArguments =" PublishReadyToRun" />
172
172
173
- <NETSdkError Condition =" '$(PublishSingleFile)' == 'true' and '$(RuntimeIdentifier)' == ''"
173
+ <NETSdkError Condition =" '$(PublishSingleFile)' == 'true' and '$(RuntimeIdentifier)' == '' and '$(RuntimeIdentifiers)' == '' "
174
174
ResourceName =" ImplicitRuntimeIdentifierResolutionForPublishPropertyFailed"
175
175
FormatArguments =" PublishSingleFile" />
176
176
177
- <NETSdkError Condition =" '$(PublishAot)' == 'true' and '$(RuntimeIdentifier)' == ''"
177
+ <NETSdkError Condition =" '$(PublishAot)' == 'true' and '$(RuntimeIdentifier)' == '' and '$(RuntimeIdentifiers)' == '' "
178
178
ResourceName =" ImplicitRuntimeIdentifierResolutionForPublishPropertyFailed"
179
179
FormatArguments =" PublishAot" />
180
180
You can’t perform that action at this time.
0 commit comments