Skip to content

Commit 262f4c2

Browse files
Delete the "Generating compatible code" message (#73554)
We no longer root all assemblies by default and we don't need to advertise the size switches to much. Also, we need to establish what switches we actually want to support (document on docs.microsoft.com) for real.
1 parent b8ffae5 commit 262f4c2

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/coreclr/nativeaot/BuildIntegration/Microsoft.NETCore.Native.targets

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,6 @@ The .NET Foundation licenses this file to you under the MIT license.
3939

4040
<!-- Set up the defaults for the compatibility mode -->
4141
<PropertyGroup>
42-
<_BuildingInCompatibleMode Condition="$(TrimmerDefaultAction) == '' and $(IlcGenerateStackTraceData) == '' and $(IlcDisableReflection) == ''">true</_BuildingInCompatibleMode>
43-
4442
<IlcGenerateStackTraceData Condition="$(IlcGenerateStackTraceData) == ''">true</IlcGenerateStackTraceData>
4543
<IlcScanReflection Condition="$(IlcScanReflection) == ''">true</IlcScanReflection>
4644
</PropertyGroup>
@@ -266,8 +264,7 @@ The .NET Foundation licenses this file to you under the MIT license.
266264
Inputs="@(IlcCompileInput);@(RdXmlFile);%(ManagedBinary.IlcRspFile)"
267265
Outputs="%(ManagedBinary.IlcOutputFile)"
268266
DependsOnTargets="WriteIlcRspFileForCompilation;$(IlcCompileDependsOn)">
269-
<Message Text="Generating native code" Condition="$(_BuildingInCompatibleMode) != 'true'" Importance="high" />
270-
<Message Text="Generating compatible native code. To optimize for size or speed, visit https://aka.ms/OptimizeNativeAOT" Condition="$(_BuildingInCompatibleMode) == 'true'" Importance="high" />
267+
<Message Text="Generating native code" Importance="high" />
271268

272269
<Exec Command="&quot;$(IlcToolsPath)\ilc&quot; @&quot;$(NativeIntermediateOutputPath)%(ManagedBinary.Filename).ilc.rsp&quot;" />
273270

0 commit comments

Comments
 (0)