Skip to content
Merged
Show file tree
Hide file tree
Changes from 110 commits
Commits
Show all changes
113 commits
Select commit Hold shift + click to select a range
2efd571
In-tree SDK
maraf Oct 2, 2025
31cf8c4
Auto import SDK
maraf Oct 2, 2025
9fffe67
Transform basic Sample
maraf Oct 2, 2025
99d3bc5
Connect Wasm SDK with Native Build
maraf Oct 2, 2025
450a853
Library tests with Wasm SDK
maraf Oct 2, 2025
404bf8a
WasmGenerateAppBundle=false for browser
maraf Oct 2, 2025
e11f277
Bypass SWA build error in NetCoreServer and RemoteLoopServer
maraf Oct 2, 2025
3bfe660
Transform WasmExtraFilesToDeploy to Content in tests
maraf Oct 2, 2025
c6e9875
TrimmingTests
maraf Oct 3, 2025
f6dbc7d
InTree override optional
maraf Oct 7, 2025
b7b2677
Trimming AppBundle
maraf Oct 7, 2025
ac6c542
Trimming tests run-v8.sh
maraf Oct 8, 2025
2ac24a4
Trimming publish dir; Use original way to generate run-v8.sh
maraf Oct 9, 2025
8627a8f
Trimming test working dir
maraf Oct 9, 2025
d2c6b2e
Disable compression
maraf Oct 9, 2025
f8f2f03
Fix System.Net.Security.Tests duplicate reference
maraf Oct 9, 2025
50d112a
Remove probing for runtime version as it's not used anymore
maraf Oct 9, 2025
63a4f28
Fix *.Tests duplicate reference
maraf Oct 9, 2025
c53fcfd
Remove probing for runtime version as it's not used anymore
maraf Oct 9, 2025
85e2db8
Skip diplicates in ComputeWasmBuildAssets
maraf Oct 10, 2025
f9e2632
Remove condition in tests for browser
maraf Oct 10, 2025
c88e92f
Merge branch 'main' into WasmSdkInTree2
maraf Oct 20, 2025
251910a
Move OutputType=library to InTree targets for IsTestProject
maraf Oct 20, 2025
b05f208
Override WasmSDK in LocalBuild targets
maraf Oct 21, 2025
6adb6a9
Skip WasmSymbolicator from AOT compilation
maraf Oct 22, 2025
86026c3
Disable compression harder
maraf Oct 22, 2025
2ea5756
WasmBuildNative=false to library tests
maraf Oct 22, 2025
d563155
WasmBuildNative optional
maraf Oct 23, 2025
b0f4ebd
Run Build target for ProxyProjectForAOTOnHelix
maraf Oct 23, 2025
289ad7a
ProxyProjectForAOTOnHelix use WasmSDK
maraf Oct 23, 2025
2884877
PublishTrimmed=false to skip default relink
maraf Oct 23, 2025
69d3b78
Fit paths to WasmSDK in AOTonHelix
maraf Oct 24, 2025
498fa6d
StartupHookForFunctionalTest OutputType library
maraf Oct 24, 2025
2d1d4aa
HOTFIX set TargetFramework for AOT on Helix
maraf Oct 24, 2025
a755ece
HOTFIX set TargetFramework for AOT on Helix
maraf Oct 29, 2025
23105ce
WasmBuildNative for samples
maraf Oct 29, 2025
d4c1016
Escape hatch from wasm bundling in-tree
maraf Oct 29, 2025
d71ea30
HOTFIX remove Wasm.Console.Bench.Sample from CI
maraf Oct 29, 2025
bd9f55c
Do not hook any WasmSDK targets for WasmBuildingForNestedPublish
maraf Oct 30, 2025
e612054
Make samples working. Fix target order for trimming tests
maraf Oct 30, 2025
9c8dae9
Merge remote-tracking branch 'upstream/main' into WasmSdkInTree2
maraf Nov 3, 2025
2dc86da
InvariantGlobalization=false when empty
maraf Nov 3, 2025
4731f85
Remove double path separator
maraf Nov 5, 2025
2e27191
Include Content in VFS
maraf Nov 6, 2025
21a3c8e
Link project local Content items to wwwroot
maraf Nov 6, 2025
b21e4d7
Load full ICU if not invariant
maraf Nov 6, 2025
6ca5050
Use task for LinkContentToWwwroot
maraf Nov 12, 2025
b24e956
Use WasmIncludeFullIcuData
maraf Nov 12, 2025
db60c87
Link files from next directory
maraf Nov 13, 2025
d128f42
Skip default html+test-main for functional tests
maraf Nov 13, 2025
a52e73a
Postpone VFS items computation. Allow to compute them from all SWA, n…
maraf Nov 13, 2025
1ea3211
Support IncludeSatelliteAssembliesInVFS
maraf Nov 13, 2025
1fd921f
Fix WasmMainJS for samples
maraf Nov 13, 2025
23b929e
Support WasmFilesToIncludeFromPublishDir
maraf Nov 13, 2025
b555fbd
Shuffle around
maraf Nov 13, 2025
770eb2f
Merge branch 'main' into WasmSdkInTree2
maraf Nov 13, 2025
094b011
WasmTriggerPublishApp before BootConfig. Read tests assembly from Was…
maraf Nov 14, 2025
60a9f53
Don't LinkPublishContentToWwwroot in nested publish
maraf Nov 19, 2025
c859641
System.Reflection.MetadataLoadContext.Tests
maraf Nov 19, 2025
90e130f
Wasm.Advanced.Sample
maraf Nov 19, 2025
e827514
Set TargetPath on VFS if it's sub path of current project directory
maraf Nov 19, 2025
c802efe
WasmNestedPublishApp before ResolveWasmOutputs. Fix WasmNativeAsset.O…
maraf Nov 20, 2025
cf05805
Clean up
maraf Nov 20, 2025
b224035
WasmMainJSPath for Wasm.Browser.Bench.Sample.csproj
maraf Nov 20, 2025
ba7c3b3
buildAOTOnHelix=false
maraf Nov 20, 2025
c695dec
Samples
maraf Nov 20, 2025
4553c8c
PublishTrimmed=true for AOT
maraf Nov 20, 2025
c969957
Remove WasmExtraFilesToDeploy
maraf Nov 20, 2025
e9c3df8
Remove WasmAppBuilder
maraf Nov 20, 2025
993a9a0
Comments
maraf Nov 20, 2025
370c88f
Clean up
maraf Nov 20, 2025
ee4f980
Copy wwwroot to build output for samples
maraf Nov 21, 2025
d0f6c57
Remove WasmMainHtmlPath
maraf Nov 21, 2025
929f156
Fix path in WasmRunWasmOpt
maraf Nov 21, 2025
7c25066
Remove unused RebuildWasmAppBuilder target
maraf Nov 21, 2025
2ce47ad
Deleted too much in last commit
maraf Nov 21, 2025
ad277c9
AOT in build
maraf Nov 21, 2025
7dc9f26
Merge branch 'main' into WasmSdkInTree2
maraf Nov 21, 2025
b7deaa1
Fix casing for linux
maraf Nov 21, 2025
ed89e42
Use assemblies from nested publish to link to VFS
maraf Nov 24, 2025
f797735
Remove Link if it points to a project file
maraf Nov 24, 2025
76fdb28
Update messages from task
maraf Nov 24, 2025
e80ade1
Delete browser-minimal-config as we have a way to generate bundler fr…
maraf Nov 25, 2025
98865bd
Don't LinkContentToWwwroot in TestTrimming
maraf Nov 25, 2025
e74dc10
Delete browser-minimal-config from tests.proj
maraf Nov 25, 2025
34f3b1f
Revert llvm-init.proj
maraf Nov 25, 2025
7b056d9
AddTestRunnersToPublishedFiles runs in nested build and outputs are i…
maraf Nov 25, 2025
7137718
Revert ProxyProjectForAOTOnHelix.proj
maraf Nov 25, 2025
8e22c24
Don't compute _WasmIntermediateAssemblyFileNames if we don't have any…
maraf Nov 25, 2025
3e70ab3
Comments
maraf Nov 25, 2025
0abc6f7
RemoteLoopServer and NetCoreServer SWA import
maraf Nov 25, 2025
3e4c57c
Generate RunTests script for RuntimeTests
maraf Nov 25, 2025
daee3b7
Rename AppBundle dir for runtimetests on browser
maraf Nov 26, 2025
8be3ca5
Rename AppBundle dir for runtimetests on browser
maraf Nov 26, 2025
a1878c5
Rename AppBundle dir for runtimetests on browser
maraf Nov 26, 2025
2e31a4c
PublishTrimmed=true for Trimming tests
maraf Nov 26, 2025
6c6416c
WasmIncludeFullIcuData=true for TrimmingTests
maraf Nov 27, 2025
0fe0238
Read WasmNativeAssets from FileSystem if we don't have runtime pack (…
maraf Nov 27, 2025
67f385c
Look for dotnet.js in _WasmBuildAssetCandidates, instead of Reference…
maraf Nov 27, 2025
aa6defe
Comment
maraf Nov 27, 2025
0145115
Copilot feedback
maraf Nov 27, 2025
a158ec6
Deduplicate UsingBlazorAOTWorkloadManifest
maraf Nov 28, 2025
cc4be73
Remove more WasmGenerateAppBundle
maraf Nov 28, 2025
5a6ba91
Remove duplicate
maraf Nov 28, 2025
a851124
Comments
maraf Nov 28, 2025
335db9a
Revert changes to LocalBuild
maraf Nov 28, 2025
a97ef98
Feedback
maraf Nov 29, 2025
e79ea66
Smoke AOT on runtime-wasm as well
maraf Nov 29, 2025
6f66e8c
Fix
maraf Nov 29, 2025
2145d9b
Feedback
maraf Dec 4, 2025
8ae7bb0
JS interop and Linq tests in Smoke_AOT
maraf Dec 4, 2025
b59bc62
Merge branch 'main' into WasmSdkInTree2
maraf Dec 4, 2025
508ab09
Merge branch 'main' into WasmSdkInTree2
maraf Dec 5, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,11 @@ jobs:
platforms:
- browser_wasm
- browser_wasm_win
nameSuffix: _AOT
nameSuffix: _Smoke_AOT
extraBuildArgs: /p:AotHostArchitecture=x64 /p:AotHostOS=$(_hostedOS)
runAOT: true
buildAOTOnHelix: false
shouldRunSmokeOnly: true
alwaysRun: true

# AOT Library tests - wasi_wasm
Expand Down Expand Up @@ -99,6 +101,7 @@ jobs:
nameSuffix: _EAT
extraBuildArgs: /p:AotHostArchitecture=x64 /p:AotHostOS=$(_hostedOS) /maxcpucount:1
runAOT: false
buildAOTOnHelix: false
isExtraPlatformsBuild: ${{ parameters.isExtraPlatformsBuild }}
isWasmOnlyBuild: ${{ parameters.isWasmOnlyBuild }}

Expand All @@ -108,9 +111,11 @@ jobs:
platforms:
- browser_wasm
- browser_wasm_win
nameSuffix: _AOT
nameSuffix: _Smoke_AOT
extraBuildArgs: /p:AotHostArchitecture=x64 /p:AotHostOS=$(_hostedOS)
runAOT: true
buildAOTOnHelix: false
shouldRunSmokeOnly: true
isExtraPlatformsBuild: ${{ parameters.isExtraPlatformsBuild }}
isWasmOnlyBuild: ${{ parameters.isWasmOnlyBuild }}
alwaysRun: ${{ parameters.isWasmOnlyBuild }}
Expand Down
2 changes: 2 additions & 0 deletions eng/pipelines/runtime.yml
Original file line number Diff line number Diff line change
Expand Up @@ -854,6 +854,7 @@ extends:
platforms:
- browser_wasm
nameSuffix: _EAT
buildAOTOnHelix: false
runAOT: false
shouldRunSmokeOnly: false
alwaysRun: ${{ variables.isRollingBuild }}
Expand All @@ -867,6 +868,7 @@ extends:
- browser_wasm_win
nameSuffix: _Smoke_AOT
runAOT: true
buildAOTOnHelix: false
shouldRunSmokeOnly: true
alwaysRun: ${{ variables.isRollingBuild }}
extraBuildArgs: /p:AotHostArchitecture=x64 /p:AotHostOS=$(_hostedOS)
Expand Down
5 changes: 3 additions & 2 deletions eng/testing/linker/SupportFiles/Directory.Build.targets
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,14 @@
<Import Project="$(RepositoryEngineeringDir)targetingpacks.targets" />

<PropertyGroup>
<BundleDir>$([MSBuild]::NormalizeDirectory('$(MSBuildProjectDirectory)', '$(OutputPath)', 'AppBundle'))</BundleDir>
<BundleDir>$([MSBuild]::NormalizeDirectory('$(MSBuildProjectDirectory)', '$(OutputPath)', 'publish', 'wwwroot'))</BundleDir>
<WasmMainAssemblyFileName>project.dll</WasmMainAssemblyFileName>
<WasmGenerateRunV8Script>true</WasmGenerateRunV8Script>
</PropertyGroup>

<Target Name="CreateTestWasmAppBundle"
AfterTargets="Publish"
DependsOnTargets="BundleTestWasmApp"
DependsOnTargets="PrepareForWasmBuildApp;_WasmGenerateRunV8Script;BundleTestWasmApp"
Condition="'$(TargetOS)' == 'browser' or '$(TargetOS)' == 'wasi'" />

<PropertyGroup Condition="'$(PublishAot)' == 'true'">
Expand Down
4 changes: 4 additions & 0 deletions eng/testing/linker/project.csproj.template
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@
<WasmAppBuilderTasksAssemblyPath>{WasmAppBuilderTasksAssemblyPath}</WasmAppBuilderTasksAssemblyPath>
<MonoTargetsTasksAssemblyPath>{MonoTargetsTasksAssemblyPath}</MonoTargetsTasksAssemblyPath>
<MicrosoftNetCoreAppRuntimePackRidDir>{MicrosoftNetCoreAppRuntimePackRidDir}</MicrosoftNetCoreAppRuntimePackRidDir>
<_WebAssemblyPropsFile>{WasmSdkPackBuildPath}Microsoft.NET.Sdk.WebAssembly.Browser.props</_WebAssemblyPropsFile>
<_WebAssemblyTargetsFile>{WasmSdkPackBuildPath}Microsoft.NET.Sdk.WebAssembly.Browser.targets</_WebAssemblyTargetsFile>
<_WebAssemblySdkToolsDirectory>{WasmSdkPackTasksPath}</_WebAssemblySdkToolsDirectory>
<UsingBrowserRuntimeWorkload>true</UsingBrowserRuntimeWorkload>

<!-- Needed for targetingpacks.targets -->
<ProductVersion>{ProductVersion}</ProductVersion>
Expand Down
6 changes: 4 additions & 2 deletions eng/testing/linker/trimmingTests.targets
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@
<TestConsoleAppSourceFiles>
<ProjectFile>%(ProjectDir)project.csproj</ProjectFile>
<TestCommand Condition="'$(TargetArchitecture)' != 'wasm' or '$(TargetOS)' != 'browser'">$([MSBuild]::NormalizePath('%(ProjectDir)', 'bin', '$(Configuration)', '%(TargetFramework)', '%(TestRuntimeIdentifier)', 'publish', 'project'))</TestCommand>
<TestCommand Condition="'$(TargetArchitecture)' == 'wasm' and '$(TargetOS)' == 'browser'">$([MSBuild]::NormalizePath('%(ProjectDir)', 'bin', '$(Configuration)', '%(TargetFramework)', '%(TestRuntimeIdentifier)', 'AppBundle', 'run-v8.sh'))</TestCommand>
<TestCommand Condition="'$(TargetArchitecture)' == 'wasm' and '$(TargetOS)' == 'browser'">$([MSBuild]::NormalizePath('%(ProjectDir)', 'bin', '$(Configuration)', '%(TargetFramework)', '%(TestRuntimeIdentifier)', 'publish', 'wwwroot', 'run-v8.sh'))</TestCommand>
<TestExecutionDirectory Condition="'$(TargetArchitecture)' != 'wasm' or '$(TargetOS)' != 'browser'">$([MSBuild]::NormalizeDirectory('%(ProjectDir)', 'bin', '$(Configuration)', '%(TargetFramework)', '%(TestRuntimeIdentifier)', 'publish'))</TestExecutionDirectory>
<TestExecutionDirectory Condition="'$(TargetArchitecture)' == 'wasm' and '$(TargetOS)' == 'browser'">$([MSBuild]::NormalizeDirectory('%(ProjectDir)', 'bin', '$(Configuration)', '%(TargetFramework)', '%(TestRuntimeIdentifier)', 'AppBundle'))</TestExecutionDirectory>
<TestExecutionDirectory Condition="'$(TargetArchitecture)' == 'wasm' and '$(TargetOS)' == 'browser'">$([MSBuild]::NormalizeDirectory('%(ProjectDir)', 'bin', '$(Configuration)', '%(TargetFramework)', '%(TestRuntimeIdentifier)', 'publish', 'wwwroot'))</TestExecutionDirectory>
</TestConsoleAppSourceFiles>
</ItemGroup>

Expand Down Expand Up @@ -114,6 +114,8 @@
.Replace('{MonoTargetsTasksAssemblyPath}', '$(MonoTargetsTasksAssemblyPath)')
.Replace('{WasmAppBuilderTasksAssemblyPath}', '$(WasmAppBuilderTasksAssemblyPath)')
.Replace('{MicrosoftNetCoreAppRuntimePackRidDir}', '$(MicrosoftNetCoreAppRuntimePackRidDir)')
.Replace('{WasmSdkPackBuildPath}', '$(MonoProjectRoot)nuget/Microsoft.NET.Sdk.WebAssembly.Pack/build/')
.Replace('{WasmSdkPackTasksPath}', '$(ArtifactsBinDir)Microsoft.NET.Sdk.WebAssembly.Pack.Tasks/$(RuntimeConfiguration)/')
.Replace('{ProductVersion}', '$(ProductVersion)')
.Replace('{NetCoreAppCurrent}', '$(NetCoreAppCurrent)')
.Replace('{NetCoreAppToolCurrent}', '$(NetCoreAppToolCurrent)')
Expand Down
Loading
Loading