Skip to content

[NETSDKE2E][Regression]With .NET10 RC2 SDK installed, the size of total published folder for Blazor Wasm with AOT enable is the same with AOT disable. #51045

@vwenchen

Description

@vwenchen

REGRESSION INFO

Worked well on .NET10 RC2 SDK 10.0.100-rc.2.25475.105

REPRO STEPS

Clean machine: Windows 11-x64 (24H2)

  1. Install .NET10 RC2 SDK 10.0.100-rc.2.25476.107
  2. Install wasm-tools : dotnet workload install wasm-tools
  3. Create new blazorWasm
  4. Publish blazorWasm then check the size of total published folder
  5. Enable AOT by adding <RunAOTCompilation>true</RunAOTCompilation> to .csproj file
  6. Publish blazorWasm again then check the size of total published folder
  7. Compare the size of two published folders

ACTUAL

The sizes of two published folders are almost the same.

Image

EXPECTED

After enable AOT compilation, the total published folder is larger.

dotnet--info:

.NET SDK:
Version: 10.0.100-rc.2.25476.107
Commit: 145a4df71b
Workload version: 10.0.100-manifests.9a6bd382
MSBuild version: 18.0.0-preview-25476-107+145a4df71

Runtime Environment:
OS Name: Windows
OS Version: 10.0.26100
OS Platform: Windows
RID: win-x64
Base Path: C:\Program Files\dotnet\sdk\10.0.100-rc.2.25476.107\

.NET workloads installed:
[wasm-tools]
Installation Source: SDK 10.0.100-rc.2
Manifest Version: 10.0.100-rc.2.25476.107/10.0.100-rc.2
Manifest Path: C:\Program Files\dotnet\sdk-manifests\10.0.100-rc.2\microsoft.net.workload.mono.toolchain.current\10.0.100-rc.2.25476.107\WorkloadManifest.json
Install Type: Msi

Configured to use workload sets when installing new manifests.
No workload sets are installed. Run "dotnet workload restore" to install a workload set.

Host:
Version: 10.0.0-rc.2.25476.107
Architecture: x64
Commit: 145a4df71b

.NET SDKs installed:
10.0.100-rc.2.25476.107 [C:\Program Files\dotnet\sdk]

.NET runtimes installed:
Microsoft.AspNetCore.App 10.0.0-rc.2.25476.107 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.NETCore.App 10.0.0-rc.2.25476.107 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.WindowsDesktop.App 10.0.0-rc.2.25476.107 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]

Other architectures found:
None

Environment variables:
Not set

global.json file:
Not found

Learn more:
https://aka.ms/dotnet/info

Download .NET:
https://aka.ms/dotnet/download

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions