Skip to content

Commit 62119c3

Browse files
Update instructions to always use .NET 9.0 and clarify Skia solution filter scope
Co-authored-by: MartinZikmund <1075116+MartinZikmund@users.noreply.github.com>
1 parent 31498ab commit 62119c3

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

.github/copilot-instructions.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export PATH="$HOME/.dotnet:$PATH"
1717

1818
Install required workloads for WebAssembly development:
1919
```bash
20-
dotnet workload install wasm-tools wasm-tools-net8
20+
dotnet workload install wasm-tools wasm-tools-net9
2121
```
2222
- Takes 2.5 minutes. NEVER CANCEL. Set timeout to 10+ minutes.
2323

@@ -41,10 +41,10 @@ cp crosstargeting_override.props.sample crosstargeting_override.props
4141
<Project>
4242
<PropertyGroup>
4343
<!-- Choose one target framework: -->
44-
<UnoTargetFrameworkOverride>net8.0</UnoTargetFrameworkOverride> <!-- WebAssembly/Skia -->
45-
<!-- <UnoTargetFrameworkOverride>net8.0-windows10.0.19041.0</UnoTargetFrameworkOverride> Windows -->
46-
<!-- <UnoTargetFrameworkOverride>net8.0-android</UnoTargetFrameworkOverride> Android -->
47-
<!-- <UnoTargetFrameworkOverride>net8.0-ios</UnoTargetFrameworkOverride> iOS -->
44+
<UnoTargetFrameworkOverride>net9.0</UnoTargetFrameworkOverride> <!-- WebAssembly/Skia -->
45+
<!-- <UnoTargetFrameworkOverride>net9.0-windows10.0.19041.0</UnoTargetFrameworkOverride> Windows -->
46+
<!-- <UnoTargetFrameworkOverride>net9.0-android</UnoTargetFrameworkOverride> Android -->
47+
<!-- <UnoTargetFrameworkOverride>net9.0-ios</UnoTargetFrameworkOverride> iOS -->
4848

4949
<!-- Performance optimizations for development: -->
5050
<AccelerateBuildsInVisualStudio>true</AccelerateBuildsInVisualStudio>
@@ -54,9 +54,9 @@ cp crosstargeting_override.props.sample crosstargeting_override.props
5454
```
5555

5656
3. **Open the corresponding solution filter**:
57-
- **WebAssembly**: `Uno.UI-Wasm-only.slnf`
58-
- **Skia (Linux/macOS/Windows)**: `Uno.UI-Skia-only.slnf`
59-
- **Mobile platforms**: `Uno.UI-netcore-mobile-only.slnf`
57+
- **WebAssembly (native)**: `Uno.UI-Wasm-only.slnf`
58+
- **Skia (all platforms including WASM, Android, iOS Skia variants)**: `Uno.UI-Skia-only.slnf`
59+
- **Mobile platforms (native Android, iOS)**: `Uno.UI-netcore-mobile-only.slnf`
6060
- **Windows**: `Uno.UI-Windows-only.slnf`
6161
- **Unit Tests only**: `Uno.UI-UnitTests-only.slnf`
6262

@@ -150,11 +150,11 @@ Uno.UI.sln - Full solution (heavy, avoid)
150150

151151
| Target Framework | Platform | Solution Filter |
152152
|------------------|----------|-----------------|
153-
| `net8.0` or `net9.0` | WebAssembly, Skia | `Uno.UI-Wasm-only.slnf`, `Uno.UI-Skia-only.slnf` |
154-
| `net8.0-windows10.0.19041.0` | Windows | `Uno.UI-Windows-only.slnf` |
155-
| `net8.0-android` | Android | `Uno.UI-netcore-mobile-only.slnf` |
156-
| `net8.0-ios` | iOS | `Uno.UI-netcore-mobile-only.slnf` |
157-
| `net8.0-maccatalyst` | macOS Catalyst | `Uno.UI-netcore-mobile-only.slnf` |
153+
| `net9.0` | WebAssembly, Skia | `Uno.UI-Wasm-only.slnf`, `Uno.UI-Skia-only.slnf` |
154+
| `net9.0-windows10.0.19041.0` | Windows | `Uno.UI-Windows-only.slnf` |
155+
| `net9.0-android` | Android | `Uno.UI-netcore-mobile-only.slnf` |
156+
| `net9.0-ios` | iOS | `Uno.UI-netcore-mobile-only.slnf` |
157+
| `net9.0-maccatalyst` | macOS Catalyst | `Uno.UI-netcore-mobile-only.slnf` |
158158

159159
### Common Build Issues
160160

0 commit comments

Comments
 (0)