File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed
src/Tasks/Microsoft.NET.Build.Tasks/targets Expand file tree Collapse file tree 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.
111111 '$(EnableCompressionInSingleFile)' == 'true' And
112112 '$(SelfContained)' != 'true'"
113113 ResourceName =" CompressionInSingleFileRequiresSelfContained" />
114+ <NETSdkError Condition =" '$(PublishAot)' == 'true' and '$(PublishAotSupported)' != 'true'"
115+ ResourceName =" AotNotSupported" />
114116
115117 <!-- Enable warning for trying to use PublishRelease or PackRelease with a solution if env-var is not set.-->
116118 <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.
182182 ResourceName =" ImplicitRuntimeIdentifierResolutionForPublishPropertyFailed"
183183 FormatArguments =" PublishAot" />
184184
185- <NETSdkError Condition =" '$(PublishAot)' == 'true' and '$(PublishAotSupported)' != 'true'"
186- ResourceName =" AotNotSupported" />
187-
188185 <!-- End of implicit RID resolver checks.-->
189186 <NETSdkError Condition =" '$(SelfContained)' == 'true' and '$(UseAppHost)' != 'true' and '$(_RuntimeIdentifierUsesAppHost)' == 'true'"
190187 ResourceName =" CannotUseSelfContainedWithoutAppHost" />
You can’t perform that action at this time.
0 commit comments