Removing the PublishAot check from the SDK (#72820)
authorLakshan Fernando <lakshanf@hotmail.com>
Tue, 26 Jul 2022 11:42:25 +0000 (04:42 -0700)
committerGitHub <noreply@github.com>
Tue, 26 Jul 2022 11:42:25 +0000 (04:42 -0700)
src/installer/pkg/projects/Microsoft.DotNet.ILCompiler/sdk/Sdk.props

index da35d47..7772d90 100644 (file)
@@ -17,6 +17,6 @@ Copyright (c) .NET Foundation. All rights reserved.
   </PropertyGroup>
 
   <!-- Only import the build props if the NativeAot package isn't referenced via NuGet. -->
-  <Import Project="$(MSBuildThisFileDirectory)..\build\Microsoft.DotNet.ILCompiler.props" Condition="'$(PublishAot)' == 'true' and '$(ILCompilerTargetsPath)' == ''" />
+  <Import Project="$(MSBuildThisFileDirectory)..\build\Microsoft.DotNet.ILCompiler.props" Condition="'$(ILCompilerTargetsPath)' == ''" />
 
 </Project>