Skip to content

Commit e9e871d

Browse files
committed
Upgraded .NET version to 10.0; Updated MSTest to use the new testing platform
1 parent 82f395a commit e9e871d

3 files changed

Lines changed: 13 additions & 15 deletions

File tree

DotNetExtensions/DotNetExtensions.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>net9.0</TargetFramework>
4+
<TargetFramework>net10.0</TargetFramework>
55
<Nullable>enable</Nullable>
66
<ImplicitUsings>enable</ImplicitUsings>
77
<LangVersion>latest</LangVersion>
@@ -13,7 +13,7 @@
1313
</PropertyGroup>
1414

1515
<PropertyGroup>
16-
<Version>5.5.3</Version>
16+
<Version>5.6.0</Version>
1717
<Authors>Diogo Medeiros</Authors>
1818
<Company>Diogo Medeiros</Company>
1919
<Description>This is a collection of extension methods for .NET Core.</Description>

DotNetExtensionsTests/DotNetExtensionsTests.csproj

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,14 @@
1-
<Project Sdk="Microsoft.NET.Sdk">
1+
<Project Sdk="MSTest.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>net9.0</TargetFramework>
4+
<TestingPlatformShowTestsFailure>true</TestingPlatformShowTestsFailure>
5+
6+
<TargetFramework>net10.0</TargetFramework>
57
<LangVersion>latest</LangVersion>
68
<ImplicitUsings>enable</ImplicitUsings>
79
<Nullable>enable</Nullable>
810
</PropertyGroup>
911

10-
<PropertyGroup>
11-
<VSTestLogger>trx</VSTestLogger>
12-
<VSTestResultsDirectory>$(MSBuildThisFileDirectory)/TestResults</VSTestResultsDirectory>
13-
</PropertyGroup>
14-
15-
<ItemGroup>
16-
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.14.1"/>
17-
<PackageReference Include="MSTest" Version="3.10.4" />
18-
</ItemGroup>
19-
2012
<ItemGroup>
2113
<Using Include="Microsoft.VisualStudio.TestTools.UnitTesting"/>
2214
</ItemGroup>

global.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,13 @@
11
{
22
"sdk": {
3-
"version": "9.0.0",
3+
"version": "10.0.0",
44
"rollForward": "latestMajor",
55
"allowPrerelease": false
6+
},
7+
"msbuild-sdks": {
8+
"MSTest.Sdk": "4.0.1"
9+
},
10+
"test": {
11+
"runner": "Microsoft.Testing.Platform"
612
}
713
}

0 commit comments

Comments
 (0)