File tree 2 files changed +2
-3
lines changed
src/Tasks/Microsoft.NET.Build.Tasks/targets 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -111,6 +111,8 @@ Copyright (c) .NET Foundation. All rights reserved.
111
111
'$(EnableCompressionInSingleFile)' == 'true' And
112
112
'$(SelfContained)' != 'true'"
113
113
ResourceName =" CompressionInSingleFileRequiresSelfContained" />
114
+ <NETSdkError Condition =" '$(PublishAot)' == 'true' and '$(PublishAotSupported)' != 'true'"
115
+ ResourceName =" AotNotSupported" />
114
116
115
117
<!-- Enable warning for trying to use PublishRelease or PackRelease with a solution if env-var is not set.-->
116
118
<NETSdkWarning Condition =" '$(PublishRelease)' != '' and '$(SolutionExt)' == '.sln' and '$(DOTNET_CLI_ENABLE_PUBLISH_RELEASE_FOR_SOLUTIONS)' == ''"
Original file line number Diff line number Diff line change @@ -182,9 +182,6 @@ Copyright (c) .NET Foundation. All rights reserved.
182
182
ResourceName =" ImplicitRuntimeIdentifierResolutionForPublishPropertyFailed"
183
183
FormatArguments =" PublishAot" />
184
184
185
- <NETSdkError Condition =" '$(PublishAot)' == 'true' and '$(PublishAotSupported)' != 'true'"
186
- ResourceName =" AotNotSupported" />
187
-
188
185
<!-- End of implicit RID resolver checks.-->
189
186
<NETSdkError Condition =" '$(SelfContained)' == 'true' and '$(UseAppHost)' != 'true' and '$(_RuntimeIdentifierUsesAppHost)' == 'true'"
190
187
ResourceName =" CannotUseSelfContainedWithoutAppHost" />
You can’t perform that action at this time.
0 commit comments