Skip to content

Commit

Permalink
Merge pull request nunit#4851 from Lachstec/main
Browse files Browse the repository at this point in the history
NET9 Support
  • Loading branch information
stevenaw authored Nov 15, 2024
2 parents 195fb1a + 5050755 commit 596f761
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion global.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"sdk": {
"version": "8.0.100",
"version": "9.0.100",
"allowPrerelease": false,
"rollForward": "latestFeature"
}
Expand Down
5 changes: 4 additions & 1 deletion nuget/nunitlite/nunitlite.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,10 @@ How to use this package:
<group targetFramework="net6.0">
<dependency id="NUnit" version="[$version$]" />
</group>
<group targetFramework="net8.0">
<group targetFramework="net8.0">
<dependency id="NUnit" version="[$version$]" />
</group>
<group targetFramework="net9.0">
<dependency id="NUnit" version="[$version$]" />
</group>
</dependencies>
Expand Down
2 changes: 1 addition & 1 deletion src/NUnitFramework/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<DisableImplicitNuGetFallbackFolder>true</DisableImplicitNuGetFallbackFolder>
<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>
<NUnitLibraryFrameworks>net462;net6.0</NUnitLibraryFrameworks>
<NUnitRuntimeFrameworks>net462;net6.0;net8.0</NUnitRuntimeFrameworks>
<NUnitRuntimeFrameworks>net462;net6.0;net8.0;net9.0</NUnitRuntimeFrameworks>
<GenerateAssemblyInfo>true</GenerateAssemblyInfo>
<!--<OutputPath>..\..\..\bin\$(Configuration)\</OutputPath>-->
<CheckEolTargetFramework>false</CheckEolTargetFramework>
Expand Down
5 changes: 1 addition & 4 deletions src/NUnitFramework/testdata/TestFixtureSourceData.cs
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,7 @@ public StaticProperty_SameClass(string arg, string expected) : base(arg, expecte
{
}

public static object[] StaticProperty
{
get { return new object[] { new object[] { "StaticPropertyInClass" } }; }
}
public static object[] StaticProperty => [new object[] { "StaticPropertyInClass" }];
}

[TestFixtureSource(nameof(StaticProperty))]
Expand Down

0 comments on commit 596f761

Please sign in to comment.