Skip to content

Commit 38414ef

Browse files
authored
Update to .NET 8.0 (#2566)
* Bumped up to LTS version, .NET 8.0 * Bumped up dependencies * Rolled back dependency versions to 8 Signed-off-by: Zafer Balkan <[email protected]> * Rolled back NET8_0_OR_GREATER Signed-off-by: Zafer Balkan <[email protected]> * Fixed newline issue --------- Signed-off-by: Zafer Balkan <[email protected]>
1 parent ab9cdfe commit 38414ef

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

Directory.Packages.props

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,18 +20,18 @@
2020
<!-- external dependencies -->
2121
<PackageVersion Include="ApprovalTests" Version="7.0.0-beta.3" />
2222
<PackageVersion Include="BenchmarkDotNet" Version="0.13.1" />
23-
<PackageVersion Include="AwesomeAssertions" Version="8.0.2" />
23+
<PackageVersion Include="AwesomeAssertions" Version="8.1.0" />
2424
<PackageVersion Include="Microsoft.CSharp" Version="4.7.0" />
2525
<PackageVersion Include="Microsoft.DotNet.PlatformAbstractions" Version="3.1.6" />
26-
<PackageVersion Include="Newtonsoft.Json" Version="13.0.2" />
27-
<PackageVersion Include="System.Memory" Version="4.5.4" />
28-
<PackageVersion Include="system.reactive.core" Version="5.0.0" />
26+
<PackageVersion Include="Newtonsoft.Json" Version="13.0.3" />
27+
<PackageVersion Include="System.Memory" Version="4.6.3" />
28+
<PackageVersion Include="system.reactive.core" Version="6.0.0" />
2929
</ItemGroup>
3030

3131
<ItemGroup Condition="'$(DisableArcade)' == '1'">
3232
<!-- The xunit version should be kept in sync with the one that Arcade promotes -->
3333
<PackageVersion Include="xunit" Version="2.4.2" />
3434
<PackageVersion Include="xunit.runner.visualstudio" Version="2.4.3" />
3535
</ItemGroup>
36-
37-
</Project>
36+
37+
</Project>

src/System.CommandLine.Tests/CompletionTests.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -784,12 +784,12 @@ public void When_parsing_from_text_if_the_proximate_option_is_completed_then_com
784784
{
785785
var command = new RootCommand
786786
{
787-
CreateOptionWithAcceptOnlyFromAmong(name: "--framework", "net7.0"),
787+
CreateOptionWithAcceptOnlyFromAmong(name: "--framework", "net8.0"),
788788
CreateOptionWithAcceptOnlyFromAmong(name: "--language", "C#"),
789789
new Option<string>("--langVersion")
790790
};
791791
var configuration = new CommandLineConfiguration(command);
792-
var completions = command.Parse("--framework net7.0 --l", configuration).GetCompletions();
792+
var completions = command.Parse("--framework net8.0 --l", configuration).GetCompletions();
793793

794794
completions.Select(item => item.Label)
795795
.Should()
@@ -801,12 +801,12 @@ public void When_parsing_from_array_if_the_proximate_option_is_completed_then_co
801801
{
802802
var command = new RootCommand
803803
{
804-
CreateOptionWithAcceptOnlyFromAmong(name: "--framework", "net7.0"),
804+
CreateOptionWithAcceptOnlyFromAmong(name: "--framework", "net8.0"),
805805
CreateOptionWithAcceptOnlyFromAmong(name: "--language", "C#"),
806806
new Option<string>("--langVersion")
807807
};
808808
var configuration = new CommandLineConfiguration(command);
809-
var completions = command.Parse(new[]{"--framework","net7.0","--l"}, configuration).GetCompletions();
809+
var completions = command.Parse(new[]{"--framework","net8.0","--l"}, configuration).GetCompletions();
810810

811811
completions.Select(item => item.Label)
812812
.Should()

0 commit comments

Comments
 (0)