Skip to content

Commit b837f76

Browse files
authored
Adding net10.0 to the list of target frameworks (#1640)
- Adding net10.0 to the list of target frameworks - updating all packages to their latest versions
1 parent 7c49ab2 commit b837f76

18 files changed

Lines changed: 29 additions & 30 deletions

File tree

Build/init.ps1

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Don't allow using undeclared variables
1+
# Don't allow using undeclared variables
22
Set-Strictmode -version latest
33

44
$root = (Resolve-Path "$PSScriptRoot\..").Path
@@ -80,7 +80,8 @@ if ($msbuildPath -and !(Test-Path "$msbuildPath/nanoFramework")) {
8080
Write-Output "Latest VS is: $VsInstance"
8181

8282
# Get extension details according to VS version, starting from VS2022 down to VS2019
83-
if($vsInstance.Contains('2022'))
83+
# TODO check if the extension for VS2022 is compatible it VS2026
84+
if($vsInstance.Contains('2026') -or $vsInstance.Contains('2022'))
8485
{
8586
$extensionUrl = "https://github.com/nanoframework/nf-Visual-Studio-extension/releases/download/$vs2022Tag/nanoFramework.Tools.VS2022.Extension.vsix"
8687
$vsixPath = Join-Path $tempDir "nanoFramework.Tools.VS2022.Extension.zip"

CodeGen/CodeGen.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
5-
<TargetFramework>net9.0</TargetFramework>
5+
<TargetFramework>net10.0</TargetFramework>
66
<LangVersion>latest</LangVersion>
77
<Nullable>enable</Nullable>
88
<!-- Allow compile with various nullability warnings until fixed. -->

Directory.Packages.props

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@
44
</PropertyGroup>
55
<ItemGroup>
66
<PackageVersion Include="System.Runtime.CompilerServices.Unsafe" Version="6.1.2" />
7-
<PackageVersion Include="BenchmarkDotNet" Version="0.15.2" />
8-
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="17.14.1" />
9-
<PackageVersion Include="Newtonsoft.Json" Version="13.0.3" />
10-
<PackageVersion Include="NuGet.Protocol" Version="6.14.0" />
7+
<PackageVersion Include="BenchmarkDotNet" Version="0.15.8" />
8+
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="18.0.1" />
9+
<PackageVersion Include="Newtonsoft.Json" Version="13.0.4" />
10+
<PackageVersion Include="NuGet.Protocol" Version="7.0.1" />
1111
<PackageVersion Include="Serilog" Version="4.3.0" />
12-
<PackageVersion Include="Serilog.Sinks.Console" Version="6.0.0" />
12+
<PackageVersion Include="Serilog.Sinks.Console" Version="6.1.1" />
1313
<PackageVersion Include="System.CommandLine.DragonFruit" Version="0.4.0-alpha.22272.1" />
1414
<PackageVersion Include="xunit" Version="2.9.3" />
15-
<PackageVersion Include="xunit.runner.visualstudio" Version="3.1.4">
15+
<PackageVersion Include="xunit.runner.visualstudio" Version="3.1.5">
1616
<PrivateAssets>all</PrivateAssets>
1717
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
1818
</PackageVersion>

PerfTests/PerfTest_Startup/PerfTest_Startup.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
5-
<TargetFramework>net9.0</TargetFramework>
5+
<TargetFramework>net10.0</TargetFramework>
66
<ImplicitUsings>enable</ImplicitUsings>
77
<Nullable>enable</Nullable>
88
<RootNamespace>perftest</RootNamespace>

PerfTests/PerfTest_Startup_Aot/PerfTest_Startup_Aot.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
5-
<TargetFramework>net9.0</TargetFramework>
5+
<TargetFramework>net10.0</TargetFramework>
66
<ImplicitUsings>enable</ImplicitUsings>
77
<Nullable>enable</Nullable>
88
<RootNamespace>perftest</RootNamespace>

PerfTests/PerfTest_Startup_v4_144_0/PerfTest_Startup_v4_144_0.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
5-
<TargetFramework>net9.0</TargetFramework>
5+
<TargetFramework>net10.0</TargetFramework>
66
<ImplicitUsings>enable</ImplicitUsings>
77
<Nullable>enable</Nullable>
88
<RootNamespace>perftest_before</RootNamespace>

PerfTests/PerfTest_Startup_v4_72_0/PerfTest_Startup_v4_72_0.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
5-
<TargetFramework>net9.0</TargetFramework>
5+
<TargetFramework>net10.0</TargetFramework>
66
<ImplicitUsings>enable</ImplicitUsings>
77
<Nullable>enable</Nullable>
88
<RootNamespace>perftest_before</RootNamespace>

Samples/Directory.Packages.props

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
44
</PropertyGroup>
55
<ItemGroup>
6-
<PackageVersion Include="UnitsNet" Version="5.65.0" />
7-
<PackageVersion Include="MahApps.Metro" Version="2.4.10" />
6+
<PackageVersion Include="UnitsNet" Version="5.75.0" />
7+
<PackageVersion Include="MahApps.Metro" Version="2.4.11" />
88
<PackageVersion Include="Prism.Container.Abstractions" Version="9.0.106" />
99
<PackageVersion Include="Prism.Unity" Version="9.0.537" />
1010
<PackageVersion Include="Prism.Wpf" Version="9.0.537" />

Samples/UnitConverter.Console/UnitConverter.Console.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
5-
<TargetFramework>net8.0</TargetFramework>
5+
<TargetFramework>net10.0</TargetFramework>
66
<ImplicitUsings>enable</ImplicitUsings>
77
<Nullable>enable</Nullable>
88
</PropertyGroup>

UnitsNet.Benchmark/UnitsNet.Benchmark.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
33
<OutputType>Exe</OutputType>
4-
<TargetFrameworks>net9.0;net48</TargetFrameworks>
4+
<TargetFrameworks>net10.0;net9.0;net48</TargetFrameworks>
55
<LangVersion>preview</LangVersion>
66
<Version>6.0.0.0</Version>
77
<AssemblyVersion>6.0.0.0</AssemblyVersion>

0 commit comments

Comments
 (0)