Skip to content

Commit 6e2e367

Browse files
authored
docs: adjust profile location for uno.sdk
1 parent b10093c commit 6e2e367

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

doc/runtime-execution-modes.md

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -90,13 +90,15 @@ To create a profiled build:
9090
- Launch App.saveProfile()
9191
- Download the `aot.profile` file next to the csproj file
9292
- Comment the `WasmShellGenerateAOTProfile` line
93-
- Add the following lines:
94-
95-
```xml
96-
<ItemGroup>
97-
<WasmShellEnableAotProfile Include="aot.profile" />
98-
</ItemGroup>
99-
```
93+
- Add a reference to the generated file:
94+
- If you're using the [Uno.Sdk](xref:Uno.Features.Uno.Sdk), place the file in the `Platforms/WebAssembly` folder
95+
- If you're not using the Uno.Sdk, add the following lines:
96+
97+
```xml
98+
<ItemGroup>
99+
<WasmShellEnableAotProfile Include="aot.profile" />
100+
</ItemGroup>
101+
```
100102

101103
- Make sure that Mixed mode is enabled:
102104

0 commit comments

Comments
 (0)