Skip to content

Commit 5264050

Browse files
authored
Upgrade packages to .NET 6 (#278)
* Upgrade packages to .NET 6, .NET 5 is EOL * Updated deps * Added some unit tests
1 parent 47d83c1 commit 5264050

File tree

57 files changed

+2552
-1343
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

57 files changed

+2552
-1343
lines changed

.github/workflows/build-linux.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@ jobs:
1313
- name: Setup .NET Core
1414
uses: actions/setup-dotnet@v1
1515
with:
16-
dotnet-version: 5.x
16+
dotnet-version: 6.x
1717
- name: Build Reason
1818
run: "echo ref: ${{github.ref}} event: ${{github.event_name}}"
1919
- name: Build Version
2020
shell: bash
2121
run: |
22-
dotnet tool install --global minver-cli --version 2.5.0
22+
dotnet tool install --global minver-cli --version 4.0.0
2323
version=$(minver --tag-prefix v)
2424
echo "MINVERVERSIONOVERRIDE=$version" >> $GITHUB_ENV
2525
- name: Build

.github/workflows/build-osx.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@ jobs:
1313
- name: Setup .NET Core
1414
uses: actions/setup-dotnet@v1
1515
with:
16-
dotnet-version: 5.x
16+
dotnet-version: 6.x
1717
- name: Build Reason
1818
run: "echo ref: ${{github.ref}} event: ${{github.event_name}}"
1919
- name: Build Version
2020
shell: bash
2121
run: |
22-
dotnet tool install --global minver-cli --version 2.5.0
22+
dotnet tool install --global minver-cli --version 4.0.0
2323
version=$(minver --tag-prefix v)
2424
echo "MINVERVERSIONOVERRIDE=$version" >> $GITHUB_ENV
2525
- name: Build

.github/workflows/build-windows.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@ jobs:
1313
- name: Setup .NET Core
1414
uses: actions/setup-dotnet@v1
1515
with:
16-
dotnet-version: 5.x
16+
dotnet-version: 6.x
1717
- name: Build Reason
1818
run: "echo ref: ${{github.ref}} event: ${{github.event_name}}"
1919
- name: Build Version
2020
shell: bash
2121
run: |
22-
dotnet tool install --global minver-cli --version 2.5.0
22+
dotnet tool install --global minver-cli --version 4.0.0
2323
version=$(minver --tag-prefix v)
2424
echo "MINVERVERSIONOVERRIDE=$version" >> $GITHUB_ENV
2525
- name: Build

.vscode/launch.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"type": "coreclr",
77
"request": "launch",
88
"preLaunchTask": "Build",
9-
"program": "${workspaceRoot}/samples/Exceptionless.SampleConsole/bin/Debug/net5.0/Exceptionless.SampleConsole.dll",
9+
"program": "${workspaceRoot}/samples/Exceptionless.SampleConsole/bin/Debug/net6.0/Exceptionless.SampleConsole.dll",
1010
"args": [],
1111
"cwd": "${workspaceRoot}/samples/Exceptionless.SampleConsole",
1212
"stopAtEntry": false,
@@ -20,7 +20,7 @@
2020
"type": "coreclr",
2121
"request": "launch",
2222
"preLaunchTask": "Build",
23-
"program": "${workspaceRoot}/samples/Exceptionless.SampleAspNetCore/bin/Debug/net5.0/Exceptionless.SampleAspNetCore.dll",
23+
"program": "${workspaceRoot}/samples/Exceptionless.SampleAspNetCore/bin/Debug/net6.0/Exceptionless.SampleAspNetCore.dll",
2424
"args": [],
2525
"cwd": "${workspaceRoot}/samples/Exceptionless.SampleAspNetCore",
2626
"stopAtEntry": false,

Exceptionless.Net.Windows.sln

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
1+
22
Microsoft Visual Studio Solution File, Format Version 12.00
3-
# Visual Studio Version 16
4-
VisualStudioVersion = 16.0.29209.152
3+
# Visual Studio Version 17
4+
VisualStudioVersion = 17.0.32014.148
55
MinimumVisualStudioVersion = 10.0.40219.1
66
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{728C18BC-4085-4492-B0B2-8211CA209A50}"
77
ProjectSection(SolutionItems) = preProject

build/common.props

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@
4141

4242
<ItemGroup>
4343
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1" PrivateAssets="All"/>
44-
<PackageReference Include="AsyncFixer" Version="1.5.1" PrivateAssets="All" />
45-
<PackageReference Include="MinVer" Version="2.5.0" PrivateAssets="All" />
44+
<PackageReference Include="AsyncFixer" Version="1.6.0" PrivateAssets="All" />
45+
<PackageReference Include="MinVer" Version="4.0.0" PrivateAssets="All" />
4646
</ItemGroup>
4747

4848
<ItemGroup>

global.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"sdk": {
3-
"version": "5.0.100",
3+
"version": "6.0.202",
44
"rollForward": "latestMinor"
55
}
66
}

samples/Exceptionless.SampleAspNetCore/Exceptionless.SampleAspNetCore.csproj

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

33
<PropertyGroup>
4-
<TargetFramework>net5.0</TargetFramework>
4+
<TargetFramework>net6.0</TargetFramework>
55
</PropertyGroup>
66

77
<ItemGroup>

samples/Exceptionless.SampleConsole/Exceptionless.SampleConsole.csproj

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

33
<PropertyGroup>
4-
<TargetFramework>net5.0</TargetFramework>
4+
<TargetFramework>net6.0</TargetFramework>
55
<AssemblyName>Exceptionless.SampleConsole</AssemblyName>
66
<OutputType>Exe</OutputType>
77
<DefineConstants>$(DefineConstants);NETSTANDARD;NETSTANDARD2_0</DefineConstants>
@@ -21,7 +21,7 @@
2121

2222
<ItemGroup>
2323
<PackageReference Include="Exceptionless.DateTimeExtensions" Version="3.4.0" />
24-
<PackageReference Include="Exceptionless.RandomData" Version="1.2.0" />
24+
<PackageReference Include="Exceptionless.RandomData" Version="1.2.1" />
2525
</ItemGroup>
2626

2727
<ItemGroup>

samples/Exceptionless.SampleHosting/Exceptionless.SampleHosting.csproj

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

33
<PropertyGroup>
4-
<TargetFramework>net5.0</TargetFramework>
4+
<TargetFramework>net6.0</TargetFramework>
55
</PropertyGroup>
66

77
<ItemGroup>

0 commit comments

Comments
 (0)