Compare commits

..

4 Commits

Author SHA1 Message Date
dependabot[bot]
6f01416a16 build(deps): bump actions/setup-dotnet from 6.0.0 to 6.1.0
Bumps [actions/setup-dotnet](https://github.com/actions/setup-dotnet) from 6.0.0 to 6.1.0.
- [Release notes](https://github.com/actions/setup-dotnet/releases)
- [Commits](a98b56852c...0f4a354dd5)

---
updated-dependencies:
- dependency-name: actions/setup-dotnet
  dependency-version: 6.1.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-11-23 16:40:26 +00:00
e0d3988d4a Merge pull request #58 from MaSzyna-EU07/chore/net10
build: the starter, the black box and the tests move to .NET 10
2026-11-23 16:37:41 +00:00
maj00r
de4eb99ea1 docs(readme): a native build needs the .NET 10 SDK 2026-11-22 13:00:10 +01:00
maj00r
4b3ee43e4a build: the starter, the black box and the tests move to .NET 10
.NET 9 was a short-term release and its support has ended; .NET 10 is the
long-term one. Avalonia 12 already ships a build for net10.0, the other
packages run on it as they are. CI sets up the 10.0 SDK, and Rider's publish
configurations point at the new output folder.
2026-11-18 13:04:13 +01:00
10 changed files with 17 additions and 17 deletions

View File

@@ -51,10 +51,10 @@ jobs:
with: with:
persist-credentials: false persist-credentials: false
- name: Setup .NET 9 - name: Setup .NET 10
uses: actions/setup-dotnet@a98b56852c35b8e3190ac28c8c2271da59106c68 # v6.0.0 uses: actions/setup-dotnet@0f4a354dd5547a28c70b7853dbd95d5b67886e73 # v6.1.0
with: with:
dotnet-version: 9.0.x dotnet-version: 10.0.x
- name: Test - name: Test
run: > run: >
@@ -141,10 +141,10 @@ jobs:
with: with:
persist-credentials: false persist-credentials: false
- name: Setup .NET 9 - name: Setup .NET 10
uses: actions/setup-dotnet@a98b56852c35b8e3190ac28c8c2271da59106c68 # v6.0.0 uses: actions/setup-dotnet@0f4a354dd5547a28c70b7853dbd95d5b67886e73 # v6.1.0
with: with:
dotnet-version: 9.0.x dotnet-version: 10.0.x
# NativeAOT on Linux needs a native compiler/linker toolchain. # NativeAOT on Linux needs a native compiler/linker toolchain.
- name: Install NativeAOT dependencies - name: Install NativeAOT dependencies

View File

@@ -61,10 +61,10 @@ jobs:
fetch-depth: 0 fetch-depth: 0
persist-credentials: false persist-credentials: false
- name: Setup .NET 9 - name: Setup .NET 10
uses: actions/setup-dotnet@a98b56852c35b8e3190ac28c8c2271da59106c68 # v6.0.0 uses: actions/setup-dotnet@0f4a354dd5547a28c70b7853dbd95d5b67886e73 # v6.1.0
with: with:
dotnet-version: 9.0.x dotnet-version: 10.0.x
- name: Restore tools - name: Restore tools
run: dotnet tool restore run: dotnet tool restore

View File

@@ -3,7 +3,7 @@
command line, or one picked. --> command line, or one picked. -->
<PropertyGroup> <PropertyGroup>
<OutputType>WinExe</OutputType> <OutputType>WinExe</OutputType>
<TargetFramework>net9.0</TargetFramework> <TargetFramework>net10.0</TargetFramework>
<Nullable>enable</Nullable> <Nullable>enable</Nullable>
<PublishAot>true</PublishAot> <PublishAot>true</PublishAot>
<PublishTrimmed>true</PublishTrimmed> <PublishTrimmed>true</PublishTrimmed>

View File

@@ -3,7 +3,7 @@
only, no XAML loaded at run time, so it goes through NativeAOT and trimming only, no XAML loaded at run time, so it goes through NativeAOT and trimming
in the starter and in the viewer alike. --> in the starter and in the viewer alike. -->
<PropertyGroup> <PropertyGroup>
<TargetFramework>net9.0</TargetFramework> <TargetFramework>net10.0</TargetFramework>
<Nullable>enable</Nullable> <Nullable>enable</Nullable>
<IsAotCompatible>true</IsAotCompatible> <IsAotCompatible>true</IsAotCompatible>
<IsTrimmable>true</IsTrimmable> <IsTrimmable>true</IsTrimmable>

View File

@@ -3,7 +3,7 @@
base library: the starter, the viewer and any other program can use it, and base library: the starter, the viewer and any other program can use it, and
it goes through NativeAOT and trimming as they do. --> it goes through NativeAOT and trimming as they do. -->
<PropertyGroup> <PropertyGroup>
<TargetFramework>net9.0</TargetFramework> <TargetFramework>net10.0</TargetFramework>
<Nullable>enable</Nullable> <Nullable>enable</Nullable>
<IsAotCompatible>true</IsAotCompatible> <IsAotCompatible>true</IsAotCompatible>
<IsTrimmable>true</IsTrimmable> <IsTrimmable>true</IsTrimmable>

View File

@@ -10,7 +10,7 @@ needed on the target machine. The commands below are the same ones CI runs, see
Requirements: Requirements:
- .NET SDK 9 - .NET SDK 10
- Linux: a native toolchain and zlib headers — `sudo apt install clang zlib1g-dev` - Linux: a native toolchain and zlib headers — `sudo apt install clang zlib1g-dev`
(Debian/Ubuntu) or `sudo dnf install clang zlib-devel` (Fedora) (Debian/Ubuntu) or `sudo dnf install clang zlib-devel` (Fedora)
- Windows: the Visual Studio C++ build tools (Desktop development with C++) - Windows: the Visual Studio C++ build tools (Desktop development with C++)

View File

@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk"> <Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup> <PropertyGroup>
<TargetFramework>net9.0</TargetFramework> <TargetFramework>net10.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings> <ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable> <Nullable>enable</Nullable>
<IsPackable>false</IsPackable> <IsPackable>false</IsPackable>

View File

@@ -4,7 +4,7 @@
<PublishAot>true</PublishAot> <PublishAot>true</PublishAot>
<PublishTrimmed>true</PublishTrimmed> <PublishTrimmed>true</PublishTrimmed>
<IsAotCompatible>true</IsAotCompatible> <IsAotCompatible>true</IsAotCompatible>
<TargetFramework>net9.0</TargetFramework> <TargetFramework>net10.0</TargetFramework>
<Nullable>enable</Nullable> <Nullable>enable</Nullable>
<BuiltInComInteropSupport>true</BuiltInComInteropSupport> <BuiltInComInteropSupport>true</BuiltInComInteropSupport>
<ApplicationManifest>app.manifest</ApplicationManifest> <ApplicationManifest>app.manifest</ApplicationManifest>

View File

@@ -1,6 +1,6 @@
<component name="ProjectRunConfigurationManager"> <component name="ProjectRunConfigurationManager">
<configuration default="false" name="StarterNG (linux64)" type="DotNetFolderPublish" factoryName="Publish to folder"> <configuration default="false" name="StarterNG (linux64)" type="DotNetFolderPublish" factoryName="Publish to folder">
<riderPublish configuration="Release" delete_existing_files="true" platform="x64" produce_single_file="true" ready_to_run="true" self_contained="true" target_folder="$PROJECT_DIR$/StarterNG/bin/Release/net9.0/linux-x64/publish" target_framework="net9.0" trim_unused_assemblies="true" uuid_high="-3321224803864985254" uuid_low="-7733288644066679555"> <riderPublish configuration="Release" delete_existing_files="true" platform="x64" produce_single_file="true" ready_to_run="true" self_contained="true" target_folder="$PROJECT_DIR$/StarterNG/bin/Release/net10.0/linux-x64/publish" target_framework="net10.0" trim_unused_assemblies="true" uuid_high="-3321224803864985254" uuid_low="-7733288644066679555">
<runtimes> <runtimes>
<item value="linux-x64" /> <item value="linux-x64" />
</runtimes> </runtimes>

View File

@@ -1,6 +1,6 @@
<component name="ProjectRunConfigurationManager"> <component name="ProjectRunConfigurationManager">
<configuration default="false" name="StarterNG (win64)" type="DotNetFolderPublish" factoryName="Publish to folder"> <configuration default="false" name="StarterNG (win64)" type="DotNetFolderPublish" factoryName="Publish to folder">
<riderPublish configuration="Release" delete_existing_files="true" platform="x64" produce_single_file="true" ready_to_run="true" self_contained="true" target_folder="$PROJECT_DIR$/StarterNG/bin/Release/net9.0/win-x64/publish" target_framework="net9.0" trim_unused_assemblies="true" uuid_high="-3321224803864985254" uuid_low="-7733288644066679555"> <riderPublish configuration="Release" delete_existing_files="true" platform="x64" produce_single_file="true" ready_to_run="true" self_contained="true" target_folder="$PROJECT_DIR$/StarterNG/bin/Release/net10.0/win-x64/publish" target_framework="net10.0" trim_unused_assemblies="true" uuid_high="-3321224803864985254" uuid_low="-7733288644066679555">
<runtimes> <runtimes>
<item value="win-x64" /> <item value="win-x64" />
</runtimes> </runtimes>