Skip to content

Commit bca66ba

Browse files
committed
.Net 10
1 parent 9bf38b3 commit bca66ba

File tree

6 files changed

+24
-23
lines changed

6 files changed

+24
-23
lines changed

global.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
{
22
"sdk": {
3-
"version": "9.0.0",
3+
"version": "10.0.0",
44
"rollForward": "latestMinor"
5+
},
6+
"test": {
7+
"runner": "Microsoft.Testing.Platform"
58
}
69
}

src/01-Build/NukeBuild/Build.Artifacts.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ public sealed partial class Build
7878

7979
DotNetPublish(_ => _
8080
.SetConfiguration(Configuration)
81-
.SetFramework("net9.0-windows")
81+
.SetFramework("net10.0-windows")
8282
.SetProject(Solution._0_Host.Wtq_Host_Windows)
8383
.SetOutput(st)
8484
.SetSelfContained(false));
@@ -101,7 +101,7 @@ public sealed partial class Build
101101

102102
DotNetPublish(_ => _
103103
.SetConfiguration(Configuration)
104-
.SetFramework("net9.0-windows")
104+
.SetFramework("net10.0-windows")
105105
.SetProject(Solution._0_Host.Wtq_Host_Windows)
106106
.SetOutput(st)
107107
.SetRuntime("win-x64")

src/01-Build/NukeBuild/Build.cs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
using Nuke.Common.Git;
77
using Nuke.Common.IO;
88
using Nuke.Common.ProjectModel;
9+
using Nuke.Common.Tooling;
910
using Nuke.Common.Tools.DotNet;
1011
using Serilog;
1112
using System;
@@ -163,8 +164,10 @@ public sealed partial class Build : NukeBuild
163164
.Executes(() =>
164165
{
165166
DotNetTest(_ => _
166-
.SetProjectFile(Solution.Path)
167-
.SetVerbosity(DotNetVerbosity.normal)
167+
.AddProcessAdditionalArguments("--solution", Solution.Path)
168+
.SetConfiguration(Configuration)
169+
.SetNoRestore(true)
170+
.SetOutput("detailed")
168171
);
169172
});
170173

src/01-Build/NukeBuild/NukeBuild.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
3-
<TargetFramework>net9.0</TargetFramework>
3+
<TargetFramework>net10.0</TargetFramework>
44
<OutputType>Exe</OutputType>
55
<RootNamespace></RootNamespace>
66

src/Directory.Build.props

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<PropertyGroup>
33
<Version>2.0.19</Version>
44

5-
<TargetFramework>net9.0</TargetFramework>
5+
<TargetFramework>net10.0</TargetFramework>
66
<Nullable>enable</Nullable>
77

88
<!-- Some features we use require a documentation file, like analyzers, and the docs manifest generation -->
@@ -106,12 +106,6 @@
106106
-->
107107
<EnableMSTestRunner>true</EnableMSTestRunner>
108108

109-
<!--
110-
Use MSTest as the runner instead of the default VSTest.
111-
https://learn.microsoft.com/en-us/dotnet/core/testing/microsoft-testing-platform-integration-dotnet-test
112-
-->
113-
<TestingPlatformDotnetTestSupport>true</TestingPlatformDotnetTestSupport>
114-
115109
<!--
116110
Show failure per test instead of grouped together.
117111
https://learn.microsoft.com/en-us/dotnet/core/testing/microsoft-testing-platform-integration-dotnet-test

src/Directory.Packages.props

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,29 +4,31 @@
44
</PropertyGroup>
55
<ItemGroup>
66
<PackageVersion Include="Ardalis.GuardClauses" Version="5.0.0"/>
7-
<PackageVersion Include="DeclarativeCommandLine" Version="2.0.4"/>
8-
<PackageVersion Include="DeclarativeCommandLine.Generator" Version="2.0.4"/>
9-
<PackageVersion Include="Microsoft.Extensions.Hosting" Version="9.0.10"/>
7+
<PackageVersion Include="DeclarativeCommandLine" Version="2.0.5"/>
8+
<PackageVersion Include="DeclarativeCommandLine.Generator" Version="2.0.5"/>
9+
<PackageVersion Include="Microsoft.Extensions.Hosting" Version="10.0.0"/>
1010
<PackageVersion Include="Microsoft.VisualStudio.Threading" Version="17.14.15"/>
1111
<PackageVersion Include="Microsoft.Windows.CsWin32" Version="0.3.242"/>
1212
<PackageVersion Include="Namotion.Reflection" Version="3.4.3"/>
1313
<PackageVersion Include="Nuke.Common" Version="9.0.4"/>
1414
<PackageVersion Include="SharpHook" Version="7.0.3"/>
1515
<PackageVersion Include="System.Numerics.Vectors" Version="4.5.0"/>
16-
<PackageVersion Include="System.Resources.Extensions" Version="9.0.10"/>
16+
<PackageVersion Include="System.Resources.Extensions" Version="10.0.0"/>
1717
<PackageVersion Include="Tmds.DBus" Version="0.21.2"/>
1818
<PackageVersion Include="Tmds.DBus.Protocol" Version="0.21.2"/>
1919
<!-- Analyzers -->
2020
<PackageVersion Include="Microsoft.VisualStudio.Threading.Analyzers" Version="17.14.15"/>
2121
<PackageVersion Include="SonarAnalyzer.CSharp" Version="10.15.0.120848"/>
2222
<PackageVersion Include="StyleCop.Analyzers.Unstable" Version="1.2.0.556"/>
23+
<!-- Docs -->
24+
<PackageVersion Include="YamlDotNet" Version="16.3.0"/>
2325
<!-- GUI -->
2426
<PackageVersion Include="BlazorMonaco" Version="3.4.0"/>
2527
<PackageVersion Include="NotificationIcon.NET" Version="1.2.8"/>
2628
<PackageVersion Include="Photino.Blazor" Version="4.0.13"/>
27-
<PackageVersion Include="Radzen.Blazor" Version="8.1.8"/>
29+
<PackageVersion Include="Radzen.Blazor" Version="8.3.0"/>
2830
<!-- HTTP API -->
29-
<PackageVersion Include="Microsoft.AspNetCore.OpenApi" Version="9.0.10"/>
31+
<PackageVersion Include="Microsoft.AspNetCore.OpenApi" Version="10.0.0"/>
3032
<PackageVersion Include="Scalar.AspNetCore" Version="2.10.3"/>
3133
<!-- Logging -->
3234
<PackageVersion Include="Serilog" Version="4.3.0"/>
@@ -38,13 +40,12 @@
3840
<!-- Serialization -->
3941
<PackageVersion Include="Newtonsoft.Json" Version="13.0.3"/>
4042
<PackageVersion Include="NJsonSchema" Version="11.5.2"/>
41-
<PackageVersion Include="YamlDotNet" Version="16.3.0"/>
4243
<!-- Testing -->
43-
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="18.0.0"/>
44+
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="18.0.1"/>
4445
<PackageVersion Include="Moq" Version="4.20.72"/>
45-
<PackageVersion Include="MSTest" Version="4.0.1"/>
46+
<PackageVersion Include="MSTest" Version="4.0.2"/>
4647
<PackageVersion Include="SystemTextJson.JsonDiffPatch" Version="2.0.0"/>
4748
<PackageVersion Include="Microsoft.Testing.Extensions.CodeCoverage" Version="18.1.0"/>
48-
<PackageVersion Include="Microsoft.Testing.Extensions.TrxReport" Version="2.0.1"/>
49+
<PackageVersion Include="Microsoft.Testing.Extensions.TrxReport" Version="2.0.2"/>
4950
</ItemGroup>
5051
</Project>

0 commit comments

Comments
 (0)