Skip to content

Commit 8eb9c37

Browse files
committed
chore: update dependencies, target frameworks, and solution structure
- Updated target frameworks to .NET 10 for consistency across projects. - Upgraded dependencies, including tools and packages, to their latest versions. - Replaced `.sln` with a `.slnx` file for streamlined solution management. - Added `global.json` to define test runner configuration. - Minor documentation formatting fixes for better readability.
1 parent 132399a commit 8eb9c37

10 files changed

Lines changed: 35 additions & 58 deletions

.config/dotnet-tools.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@
33
"isRoot": true,
44
"tools": {
55
"husky": {
6-
"version": "0.7.2",
6+
"version": "0.8.0",
77
"commands": [
88
"husky"
99
]
1010
},
1111
"csharpier": {
12-
"version": "1.0.3",
12+
"version": "1.2.6",
1313
"commands": [
1414
"csharpier"
1515
]

CODE_OF_CONDUCT.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,8 +118,8 @@ This Code of Conduct is adapted from the [Contributor Covenant][homepage],
118118
version 2.0,
119119
[available here](https://www.contributor-covenant.org/version/2/0/code_of_conduct.html).
120120

121-
Community Impact Guidelines were inspired by [Mozilla's code of conduct
122-
enforcement ladder](https://github.com/mozilla/diversity).
121+
Community Impact Guidelines were inspired by
122+
[Mozilla's code of conduct enforcement ladder](https://github.com/mozilla/diversity).
123123

124124
[homepage]: https://www.contributor-covenant.org
125125

Common.Benchmark.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
the benchmark projects that are in this solution
55
-->
66
<PropertyGroup>
7-
<TargetFramework>net8.0</TargetFramework>
7+
<TargetFramework>net10.0</TargetFramework>
88
<SonarQubeExclude>true</SonarQubeExclude>
99
<ProjectName>$(AssemblyName.Replace('.Benchmarks', ''))</ProjectName>
1010
<OutputType>Exe</OutputType>

Common.Docs.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
the docs projects that are in this solution
55
-->
66
<PropertyGroup>
7-
<TargetFramework>net8.0</TargetFramework>
7+
<TargetFramework>net10.0</TargetFramework>
88
</PropertyGroup>
99
<Target Name="BuildDocs" AfterTargets="AfterBuild" BeforeTargets="PostBuildEvent">
1010
<!-- Prevent parallel execution -->

Common.Test.props

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,10 @@
44
the test projects that are in this solution
55
-->
66
<PropertyGroup>
7-
<TargetFramework>net8.0</TargetFramework>
7+
<TargetFramework>net10.0</TargetFramework>
88
<SonarQubeExclude>true</SonarQubeExclude>
99
<ProjectName>$(AssemblyName.Replace('.Tests', ''))</ProjectName>
1010
<OutputType>Exe</OutputType>
11-
<TestingPlatformDotnetTestSupport>true</TestingPlatformDotnetTestSupport>
12-
<UseMicrosoftTestingPlatformRunner>true</UseMicrosoftTestingPlatformRunner>
1311
</PropertyGroup>
1412
<Import
1513
Project="$(MSBuildProjectDirectory)\..\$(ProjectName)\build\$(ProjectName).props"
@@ -18,7 +16,7 @@
1816
<ItemGroup>
1917
<PackageReference Include="Microsoft.NET.Test.Sdk" />
2018
<PackageReference Include="Microsoft.Testing.Extensions.CodeCoverage" />
21-
<PackageReference Include="xunit.v3" />
19+
<PackageReference Include="xunit.v3.mtp-v2" />
2220
<PackageReference Include="xunit.runner.visualstudio">
2321
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
2422
<PrivateAssets>all</PrivateAssets>

Cutout.Docs/articles/getting-started.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
# Getting Started
22

33
To use this library, simply include `Cutout.dll` in your project or grab
4-
it from [NuGet](https://www.nuget.org/packages/Cutout/), and add a reference to it.
4+
it from
5+
[NuGet](https://www.nuget.org/packages/Cutout/)
6+
, and add a reference to it.
57

68
```xml
79
<ItemGroup>

Cutout.sln

Lines changed: 0 additions & 34 deletions
This file was deleted.

Cutout.slnx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<Solution>
2+
<Project Path="Cutout.Docs/Cutout.Docs.csproj" />
3+
<Project Path="Cutout.Sample/Cutout.Sample.csproj" />
4+
<Project Path="Cutout.Tests/Cutout.Tests.csproj" />
5+
<Project Path="Cutout/Cutout.csproj" />
6+
</Solution>

Parent.Directory.Packages.props

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -14,19 +14,19 @@
1414
<PackageVersion Include="Cutout" Version="1.0.0" Condition="$(BuiltInMonoRepo) != 'true'" />
1515
<PackageVersion Include="Humanizer.Core" Version="2.14.1" />
1616
<PackageVersion Include="Pasted" Version="1.0.0" Condition="$(BuiltInMonoRepo) != 'true'" />
17-
<PackageVersion Include="Polyfill" Version="8.7.3" />
18-
<PackageVersion Include="Microsoft.SourceLink.GitHub" Version="8.0.0" />
19-
<PackageVersion Include="Microsoft.Bcl.AsyncInterfaces" Version="9.0.7" />
17+
<PackageVersion Include="Polyfill" Version="8.9.1" />
18+
<PackageVersion Include="Microsoft.SourceLink.GitHub" Version="10.0.103" />
19+
<PackageVersion Include="Microsoft.Bcl.AsyncInterfaces" Version="10.0.3" />
2020
<PackageVersion Include="Microsoft.CodeAnalysis.Analyzers" Version="3.11" />
2121
<PackageVersion Include="Microsoft.CodeAnalysis.CSharp" Version="4.11.0" />
2222
<PackageVersion Include="Microsoft.CodeAnalysis.CSharp.Workspaces" Version="4.11.0" />
2323
<PackageVersion Include="Microsoft.CSharp" Version="4.7.0" />
2424
<PackageVersion Include="System.Text.Json" Version="8.0.5" />
2525
<PackageVersion Include="TypeNameFormatter.Sources" Version="1.1.2" />
2626
<PackageVersion Include="ValueTaskSupplement" Version="1.1.0" />
27-
<PackageVersion Include="Docfx.Common" Version="2.78.3" />
28-
<PackageVersion Include="Docfx.Plugins" Version="2.78.3" />
29-
<PackageVersion Include="Docfx.DataContracts.Common" Version="2.78.3" />
27+
<PackageVersion Include="Docfx.Common" Version="2.78.4" />
28+
<PackageVersion Include="Docfx.Plugins" Version="2.78.4" />
29+
<PackageVersion Include="Docfx.DataContracts.Common" Version="2.78.4" />
3030
<PackageVersion Include="System.Composition" Version="9.0.0" />
3131
</ItemGroup>
3232
<!-- Test packages -->
@@ -41,19 +41,19 @@
4141
Version="2.0.0"
4242
Condition="$(BuiltInMonoRepo) != 'true'"
4343
/>
44-
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="17.14.1" />
45-
<PackageVersion Include="Microsoft.Testing.Extensions.CodeCoverage" Version="17.14.2" />
46-
<PackageVersion Include="Microsoft.CodeAnalysis.CSharp.Analyzer.Testing" Version="1.1.2" />
44+
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="18.0.1" />
45+
<PackageVersion Include="Microsoft.Testing.Extensions.CodeCoverage" Version="18.4.1" />
46+
<PackageVersion Include="Microsoft.CodeAnalysis.CSharp.Analyzer.Testing" Version="1.1.3" />
4747
<PackageVersion Include="Polly" Version="8.6.2" />
4848
<PackageVersion Include="Verify.SourceGenerators" Version="2.5.0" />
49-
<PackageVersion Include="Verify.XunitV3" Version="30.5.0" />
50-
<PackageVersion Include="xunit.v3" Version="3.0.0" />
49+
<PackageVersion Include="Verify.XunitV3" Version="31.13.2" />
50+
<PackageVersion Include="xunit.v3.mtp-v2" Version="3.2.2" />
5151
<PackageVersion Include="xunit.runner.visualstudio" Version="3.1.3" />
5252
</ItemGroup>
5353
<!-- Benchmark packages -->
5454
<ItemGroup>
55-
<PackageVersion Include="BenchmarkDotNet" Version="0.15.2" />
56-
<PackageVersion Include="BenchmarkDotNet.Diagnostics.dotTrace" Version="0.15.2" />
55+
<PackageVersion Include="BenchmarkDotNet" Version="0.15.8" />
56+
<PackageVersion Include="BenchmarkDotNet.Diagnostics.dotTrace" Version="0.15.8" />
5757
</ItemGroup>
5858
<!-- Pinned Transitive packages -->
5959
<ItemGroup>

global.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"test": {
3+
"runner": "Microsoft.Testing.Platform"
4+
}
5+
}

0 commit comments

Comments
 (0)