We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 854cc61 + 78b0e3a commit da5fd52Copy full SHA for da5fd52
src/Tasks/Microsoft.NET.Build.Tasks/targets/Microsoft.NET.Publish.targets
@@ -231,6 +231,7 @@ Copyright (c) .NET Foundation. All rights reserved.
231
<NETSdkError Condition="'$(PublishAot)' == 'true' and
232
'$(_IsPublishing)' != 'true' and
233
'$(PublishAotUsingRuntimePack)' == 'true' and
234
+ '$(NativeCompilationDuringPublish)' != 'false' and
235
'$(_TargetFrameworkVersionWithoutV)' >= '10.0'"
236
ResourceName="NativeCompilationRequiresPublishing" />
237
0 commit comments