Skip to content

Commit e8b6982

Browse files
authored
Merge pull request #22381 from ajpinedam/docs/update.references.to.net10
docs: update net references to net10.0
2 parents 71d53bc + cfd497a commit e8b6982

File tree

46 files changed

+149
-149
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+149
-149
lines changed

doc/articles/common-issues-vs2022.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ C# Hot Reload is provided by Visual Studio 2022/2026, and there may be occasions
2828

2929
If that is the case:
3030

31-
- Make sure that the top left selector in the C# editor is showing the project head being debugged. For instance, if debugging with `net9.0-desktop`, select the `net9.0-desktop` project.
31+
- Make sure that the top left selector in the C# editor is showing the project head being debugged. For instance, if debugging with `net10.0-desktop`, select the `net10.0-desktop` project.
3232
- Try recompiling the application completely (with the `Rebuild` command)
3333

3434
More troubleshooting information is available [in this section](xref:Uno.Features.HotReload).

doc/articles/create-an-app-rider.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -95,15 +95,15 @@ To correct this, you'll need to modify your `csproj` file in order to make the p
9595
You can change this line:
9696

9797
```xml
98-
<TargetFrameworks>net9.0-android;net9.0-ios;net9.0-windows10.0.26100;net9.0-browserwasm;net9.0-desktop</TargetFrameworks>
98+
<TargetFrameworks>net10.0-android;net10.0-ios;net10.0-windows10.0.26100;net10.0-browserwasm;net10.0-desktop</TargetFrameworks>
9999
```
100100

101101
To be:
102102

103103
```xml
104-
<TargetFrameworks>net9.0-android;net9.0-browserwasm;net9.0-desktop</TargetFrameworks>
105-
<TargetFrameworks Condition=" $([MSBuild]::IsOSPlatform('windows')) ">$(TargetFrameworks);net9.0-windows10.0.26100</TargetFrameworks>
106-
<TargetFrameworks Condition=" !$([MSBuild]::IsOSPlatform('linux')) ">$(TargetFrameworks);net9.0-ios</TargetFrameworks>
104+
<TargetFrameworks>net10.0-android;net10.0-browserwasm;net10.0-desktop</TargetFrameworks>
105+
<TargetFrameworks Condition=" $([MSBuild]::IsOSPlatform('windows')) ">$(TargetFrameworks);net10.0-windows10.0.26100</TargetFrameworks>
106+
<TargetFrameworks Condition=" !$([MSBuild]::IsOSPlatform('linux')) ">$(TargetFrameworks);net10.0-ios</TargetFrameworks>
107107
```
108108

109109
Make sure to adjust the list of target frameworks based on the platforms you have in your original list.

doc/articles/create-an-app-vs2022.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -110,9 +110,9 @@ To debug for **iOS**:
110110
> [!NOTE]
111111
> For information about connecting Visual Studio to a Mac build host to build iOS apps, see [Pairing to a Mac for .NET iOS development](https://learn.microsoft.com/xamarin/ios/get-started/installation/windows/connecting-to-mac/).
112112
113-
- In the "Debug toolbar" drop-down, select framework `net9.0-ios`:
113+
- In the "Debug toolbar" drop-down, select framework `net10.0-ios`:
114114

115-
![Visual Studio - "Debug toolbar" drop-down selecting the "net9.0-ios" framework](Assets/quick-start/ios-debug.png)
115+
![Visual Studio - "Debug toolbar" drop-down selecting the "net10.0-ios" framework](Assets/quick-start/ios-debug.png)
116116

117117
- Select:
118118
- An active device, if your IDE is connected to a macOS Host
@@ -127,9 +127,9 @@ To debug for **iOS**:
127127

128128
To debug the **Android** platform:
129129

130-
- In the **Debug toolbar** drop-down, select framework `net9.0-android`
130+
- In the **Debug toolbar** drop-down, select framework `net10.0-android`
131131

132-
![Visual Studio - "Debug toolbar" drop-down selecting the "net9.0-android" framework](Assets/quick-start/android-debug.png)
132+
![Visual Studio - "Debug toolbar" drop-down selecting the "net10.0-android" framework](Assets/quick-start/android-debug.png)
133133

134134
- Select an active device in the "Device" sub-menu
135135
> [!NOTE]

doc/articles/create-an-app-vscode.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ In VS Code :
160160
In the status bar :
161161
162162
1. Just after the Uno logo, ensure the `MyApp` project is selected - by default `MyApp.sln` is selected
163-
1. Next, click on the target framework to select `net9.0-browserwasm | Debug`
163+
1. Next, click on the target framework to select `net10.0-browserwasm | Debug`
164164
165165
![status bar](Assets/quick-start/vs-code-browserwasm-project.png)
166166
@@ -178,7 +178,7 @@ In VS Code :
178178
In the status bar :
179179
180180
1. Just after the Uno logo, ensure the `MyApp` project is selected - by default `MyApp.sln` is selected
181-
1. Next click on the target framework to select `net9.0-desktop | Debug`
181+
1. Next click on the target framework to select `net10.0-desktop | Debug`
182182
183183
![status bar](Assets/quick-start/vs-code-desktop-project.png)
184184
@@ -224,7 +224,7 @@ In VS Code :
224224
In the status bar :
225225
226226
1. Just after the Uno logo ensure the `MyApp` project is selected - by default `MyApp.sln` is selected
227-
1. Next click on the target framework to select `net9.0-android | Debug`
227+
1. Next click on the target framework to select `net10.0-android | Debug`
228228
1. Then select the device to debug with. You will need to connect an Android device or [create an Android emulator](https://developer.android.com/studio/run/managing-avds).
229229
230230
![status bar](Assets/quick-start/vs-code-android-project.png)
@@ -246,7 +246,7 @@ In VS Code :
246246
In the status bar :
247247
248248
1. Just after the Uno logo ensure the `MyApp` project is selected - by default `MyApp.sln` is selected
249-
1. Next click on the target framework to select `net9.0-ios | Debug`
249+
1. Next click on the target framework to select `net10.0-ios | Debug`
250250
1. Then select the device to debug with. You will need to connect an iOS device or [use an installed iOS simulator](https://developer.apple.com/documentation/xcode/installing-additional-simulator-runtimes).
251251
252252
![status bar](Assets/quick-start/vs-code-ios-project.png)
@@ -271,7 +271,7 @@ In VS Code :
271271
In the status bar :
272272

273273
1. Just after the Uno logo ensure the `MyApp` project is selected - by default `MyApp.sln` is selected
274-
1. Next click on the target framework to select `net9.0-windows10.0.xxxxx | Debug`
274+
1. Next click on the target framework to select `net10.0-windows10.0.xxxxx | Debug`
275275
1. The `This Computer` device will be pre-selected. On ARM64-based computers, you will have the option to use `This Computer using emulation` to debug `x64` applications
276276
277277
![status bar](Assets/quick-start/vs-code-windows-project.png)

doc/articles/debugging-wasm.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ You should now be able to set breakpoints or do step-by-step debugging of your c
4141

4242
To debug your application:
4343

44-
- Make the `net9.0-browserwasm` active debugging target framework (right-click **set as startup** in Solution Explorer)
44+
- Make the `net10.0-browserwasm` active debugging target framework (right-click **set as startup** in Solution Explorer)
4545
- Ensure that `<MonoRuntimeDebuggerEnabled>true</MonoRuntimeDebuggerEnabled>` is set in your csproj. It is automatically set [when using the Uno.SDK](xref:Uno.Features.Uno.Sdk).
4646
- In the debugging toolbar:
4747

doc/articles/features/using-linux-framebuffer.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ Each platform support is evaluated in order for availability and definition in b
4040
You can build and run this app by navigating to the `MyApp` and type the following:
4141

4242
```dotnetcli
43-
dotnet run -f net9.0-desktop
43+
dotnet run -f net10.0-desktop
4444
```
4545

4646
The app will start and display on the first available framebuffer device. To change the active framebuffer, set the device name in the `FRAMEBUFFER` environment variable.
@@ -50,7 +50,7 @@ By default, the `Debug` configuration is used, which will show logging informati
5050
To read the logging information, either:
5151

5252
- Launch the application from a different terminal (through SSH, for instance)
53-
- Launch the app using `dotnet run -f net9.0-desktop > logging.txt 2>&1`, then launch `tail -f logging.txt` in another terminal.
53+
- Launch the app using `dotnet run -f net10.0-desktop > logging.txt 2>&1`, then launch `tail -f logging.txt` in another terminal.
5454

5555
Once the application is running, you can exit the application with:
5656

@@ -62,7 +62,7 @@ Once the application is running, you can exit the application with:
6262
You can create a standalone publication folder using the following:
6363

6464
```dotnetcli
65-
dotnet publish -c Release -f net9.0-desktop -r linux-x64 --self-contained true
65+
dotnet publish -c Release -f net10.0-desktop -r linux-x64 --self-contained true
6666
```
6767

6868
> [!NOTE]

doc/articles/features/using-skia-desktop.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ uid: Uno.Skia.Desktop
44

55
# Using the Skia Desktop
66

7-
Uno Platform supports running applications using a common Skia Desktop shell, which is automatically used based on the running platform, using a single build output using the `net9.0-desktop` target framework from the [Uno.Sdk](xref:Uno.Features.Uno.Sdk).
7+
Uno Platform supports running applications using a common Skia Desktop shell, which is automatically used based on the running platform, using a single build output using the `net10.0-desktop` target framework from the [Uno.Sdk](xref:Uno.Features.Uno.Sdk).
88

99
The currently supported targets and platforms are:
1010

@@ -125,7 +125,7 @@ To build an app with this feature enabled:
125125
1. Build your app with:
126126

127127
```dotnetcli
128-
dotnet publish -c Release -f net9.0-desktop
128+
dotnet publish -c Release -f net10.0-desktop
129129
```
130130

131131
> [!NOTE]

doc/articles/features/using-skia-hosting-native-controls.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ uid: Uno.Skia.Embedding.Native
77
> [!NOTE]
88
> This document describes Skia renderer native embedding, for other platforms/renderers see the [native views](xref:Uno.Development.NativeViews) documentation.
99
10-
In an Uno Platform app with a Skia renderer, i.e. using `net9.0-desktop` or adding `SkiaRenderer` to the `UnoFeatures` MSBuild property, you can embed native controls in your Skia app. This is useful if you want to use a native control for a specific task, for instance, to integrate an existing WPF control.
10+
In an Uno Platform app with a Skia renderer, i.e. using `net10.0-desktop` or adding `SkiaRenderer` to the `UnoFeatures` MSBuild property, you can embed native controls in your Skia app. This is useful if you want to use a native control for a specific task, for instance, to integrate an existing WPF control.
1111

1212
Each target platform has its own idea of a native element.
1313

doc/articles/features/using-skia-rendering.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -96,11 +96,11 @@ The reason for this limitation is caused by the fact that Native renderers expos
9696

9797
Here are the different scenarios:
9898

99-
- Given a library that uses `net9.0-ios` or `net9.0-android`, which does not have the `SkiaRenderer` set as an `UnoFeature`, but uses platform conditional code with `#if` blocks:
99+
- Given a library that uses `net10.0-ios` or `net10.0-android`, which does not have the `SkiaRenderer` set as an `UnoFeature`, but uses platform conditional code with `#if` blocks:
100100

101-
- This package is only usable by both native and Skia apps if it also provides a `net9.0` TFM. In this case, for a native app, nothing changes.
102-
- For a `SkiaRenderer` enabled app, the `net9.0` variant of the library will be used and will not offer iOS/Android specific conditional code, but any code that uses Uno Platform provided APIs will work properly.
101+
- This package is only usable by both native and Skia apps if it also provides a `net10.0` TFM. In this case, for a native app, nothing changes.
102+
- For a `SkiaRenderer` enabled app, the `net10.0` variant of the library will be used and will not offer iOS/Android specific conditional code, but any code that uses Uno Platform provided APIs will work properly.
103103

104-
- Given a library that uses `net9.0-ios` or `net9.0-android`, which does have the `SkiaRenderer` set as an `UnoFeature`, but uses platform conditional code with `#if` blocks:
104+
- Given a library that uses `net10.0-ios` or `net10.0-android`, which does have the `SkiaRenderer` set as an `UnoFeature`, but uses platform conditional code with `#if` blocks:
105105

106106
- This package is only usable by Skia-enabled apps.

doc/articles/features/using-the-uno-sdk.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ As discussed above setting `EnableDefaultUnoItems` to false will disable these i
301301
>
302302
> ```xml
303303
> <Target Name="AdjustAppItemGroups" BeforeTargets="ResolveAssemblyReferences">
304-
> <ItemGroup Condition="'$(TargetFramework)' == 'net9.0-browserwasm'">
304+
> <ItemGroup Condition="'$(TargetFramework)' == 'net10.0-browserwasm'">
305305
> <None Remove="Page.xaml"/>
306306
> <Page Remove="Page.xaml"/>
307307
> </ItemGroup>

0 commit comments

Comments
 (0)