-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Description
REGRESSION INFO
Worked well on .NET10 RC2 SDK 10.0.100-rc.2.25502.107
REPRO STEPS
Clean machine: Windows 11-x64 (24H2)
- Install .NET10 GA SDK 10.0.100-rtm.25514.102
- Install wasm-tools :
dotnet workload install wasm-tools
- Create new blazorWasm
- Publish blazorWasm then check the size of total published folder
- Enable AOT by adding
<RunAOTCompilation>true</RunAOTCompilation>
to .csproj file - Publish blazorWasm again then check the size of total published folder
- 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)

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