Skip to content

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

@vwenchen

Description

@vwenchen

REGRESSION INFO

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

REPRO STEPS

Clean machine: Windows 11-x64 (24H2)

  1. Install .NET10 GA SDK 10.0.100-rtm.25514.102
  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.(P2 was published folder after enable AOT)

Image

EXPECTED

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

dotnet--info:

.NET SDK:
Version: 10.0.100
Commit: 3bf0bbd389
Workload version: 10.0.100-manifests.0cd60d2b
MSBuild version: 18.0.0-preview-25514-102+3bf0bbd38

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\

.NET workloads installed:
[wasm-tools]
Installation Source: SDK 10.0.100
Manifest Version: 10.0.100/10.0.100
Manifest Path: C:\Program Files\dotnet\sdk-manifests\10.0.100\microsoft.net.workload.mono.toolchain.current\10.0.100\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
Architecture: x64
Commit: 3bf0bbd389

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

.NET runtimes installed:
Microsoft.AspNetCore.App 10.0.0 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.NETCore.App 10.0.0 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.WindowsDesktop.App 10.0.0 [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

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions