Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
4 changes: 0 additions & 4 deletions .github/workflows/benchmarks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,6 @@ jobs:
restore-keys: |
nuget-${{ runner.os }}-

# Required by Playground.Wasm's Release AOT compilation.
- name: Install wasm-tools workload
run: dotnet workload install wasm-tools

- name: Restore
run: dotnet restore

Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,6 @@ jobs:
restore-keys: |
nuget-${{ runner.os }}-

# Required by Playground.Wasm's Release AOT compilation.
- name: Install wasm-tools workload
run: dotnet workload install wasm-tools

- name: Restore
run: dotnet restore

Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,6 @@ jobs:
with:
dotnet-version: '10.0.x'

# Required by Playground.Wasm's Release AOT compilation.
- name: Install wasm-tools workload
run: dotnet workload install wasm-tools

- name: Publish ExpressiveSharp Playground (Blazor WASM)
run: |
dotnet publish src/Docs/Playground.Wasm/ExpressiveSharp.Docs.Playground.Wasm.csproj \
Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,6 @@ jobs:
echo "version=$VERSION" >> "$GITHUB_OUTPUT"
echo "Publishing version: $VERSION"

# Required by Playground.Wasm's Release AOT compilation.
- name: Install wasm-tools workload
run: dotnet workload install wasm-tools

- name: Restore
run: dotnet restore

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,12 @@
<ImplicitUsings>enable</ImplicitUsings>
<IsPackable>false</IsPackable>

<!-- Roslyn + EF Core trim incompatibly. -->
<!-- Roslyn + EF Core trim incompatibly, so PublishTrimmed stays off. .NET 10
wasm-tools requires trimming for AOT, so AOT is disabled too — the
playground runs interpreted, which trades Roslyn startup speed for a
working build. -->
<PublishTrimmed>false</PublishTrimmed>

<!-- AOT compilation via wasm-tools workload — significantly faster Roslyn
execution at runtime. Only applied on Release publish. We can't strip
IL after AOT because PlaygroundReferences feeds the .dll files back
into Roslyn as MetadataReference instances for compile-time type
resolution — MetadataReference.CreateFromImage needs real PE bytes. -->
<RunAOTCompilation Condition="'$(Configuration)' == 'Release'">true</RunAOTCompilation>

<!-- WebCIL packaging + content-hashed asset names off so SnippetCompiler
can fetch reference DLLs from /_framework/<name>.dll via HttpClient. -->
<WasmEnableWebcil>false</WasmEnableWebcil>
Expand Down
Loading