You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/coreclr/nativeaot/BuildIntegration/Microsoft.NETCore.Native.Publish.targets
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -68,8 +68,8 @@
68
68
Text="Add a PackageReference for '$(_hostPackageName)' to allow cross-compilation for $(_targetArchitecture)" />
69
69
70
70
<!-- NativeAOT runtime pack assemblies need to be defined to avoid the default CoreCLR implementations being set as compiler inputs -->
71
-
<ErrorCondition="'@(PrivateSdkAssemblies)' == '' and '$(IlcUseNativeAOTRuntimePackLayout)' != 'true'"Text="The PrivateSdkAssemblies ItemGroup is required for _ComputeAssembliesToCompileToNative" />
72
-
<ErrorCondition="'@(FrameworkAssemblies)' == '' and '$(IlcUseNativeAOTRuntimePackLayout)' != 'true'"Text="The FrameworkAssemblies ItemGroup is required for _ComputeAssembliesToCompileToNative" />
71
+
<ErrorCondition="'@(PrivateSdkAssemblies)' == ''"Text="The PrivateSdkAssemblies ItemGroup is required for _ComputeAssembliesToCompileToNative" />
72
+
<ErrorCondition="'@(FrameworkAssemblies)' == ''"Text="The FrameworkAssemblies ItemGroup is required for _ComputeAssembliesToCompileToNative" />
0 commit comments