Skip to content

Commit 1275e46

Browse files
authored
Upgraded packages to use .NET 5.0 (exceptionless#249)
1 parent 8ef521f commit 1275e46

File tree

19 files changed

+36
-47
lines changed

19 files changed

+36
-47
lines changed

.github/workflows/build-linux.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
- name: Setup .NET Core
1414
uses: actions/setup-dotnet@v1
1515
with:
16-
dotnet-version: 3.1.401
16+
dotnet-version: 5.0.201
1717
- name: Build Reason
1818
run: "echo ref: ${{github.ref}} event: ${{github.event_name}}"
1919
- name: Build Version

.github/workflows/build-osx.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
- name: Setup .NET Core
1414
uses: actions/setup-dotnet@v1
1515
with:
16-
dotnet-version: 3.1.401
16+
dotnet-version: 5.0.201
1717
- name: Build Reason
1818
run: "echo ref: ${{github.ref}} event: ${{github.event_name}}"
1919
- name: Build Version

.github/workflows/build-windows.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
- name: Setup .NET Core
1414
uses: actions/setup-dotnet@v1
1515
with:
16-
dotnet-version: 3.1.401
16+
dotnet-version: 5.0.201
1717
- name: Build Reason
1818
run: "echo ref: ${{github.ref}} event: ${{github.event_name}}"
1919
- name: Build Version

.vscode/launch.json

+2-2
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/netcoreapp3.1/Exceptionless.SampleConsole.dll",
9+
"program": "${workspaceRoot}/samples/Exceptionless.SampleConsole/bin/Debug/net5.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/netcoreapp3.1/Exceptionless.SampleAspNetCore.dll",
23+
"program": "${workspaceRoot}/samples/Exceptionless.SampleAspNetCore/bin/Debug/net5.0/Exceptionless.SampleAspNetCore.dll",
2424
"args": [],
2525
"cwd": "${workspaceRoot}/samples/Exceptionless.SampleAspNetCore",
2626
"stopAtEntry": false,

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ editor design surfaces are available.
3030

3131
1. You will need to install:
3232
1. [Visual Studio 2019](https://visualstudio.microsoft.com/vs/community/)
33-
2. [.NET Core 3.1 SDK with VS Tooling](https://dotnet.microsoft.com/download)
33+
2. [.NET Core 5.x SDK with VS Tooling](https://dotnet.microsoft.com/download)
3434
3. [.NET Framework 4.6.2 Developer Pack](https://dotnet.microsoft.com/download/dotnet-framework/net462)
3535
2. Open the `Exceptionless.Net.sln` Visual Studio solution file.
3636
3. Select `Exceptionless.SampleConsole` as the startup project.
@@ -44,7 +44,7 @@ build windows specific packages.
4444

4545
1. You will need to install:
4646
1. [Visual Studio Code](https://code.visualstudio.com)
47-
2. [.NET Core 3.1 SDK with VS Tooling](https://dotnet.microsoft.com/download)
47+
2. [.NET Core 5.x SDK with VS Tooling](https://dotnet.microsoft.com/download)
4848
2. Open the cloned Exceptionless.Net folder.
4949
3. Run the `Exceptionless.SampleConsole` project by pressing `F5` to start the console.
5050

global.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"sdk": {
3-
"version": "3.1.100",
3+
"version": "5.0.100",
44
"rollForward": "latestMinor"
55
}
6-
}
6+
}

samples/Exceptionless.SampleAspNetCore/Exceptionless.SampleAspNetCore.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk.Web">
22

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

77
<ItemGroup>

samples/Exceptionless.SampleConsole/Exceptionless.SampleConsole.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>netcoreapp3.1</TargetFramework>
4+
<TargetFramework>net5.0</TargetFramework>
55
<AssemblyName>Exceptionless.SampleConsole</AssemblyName>
66
<OutputType>Exe</OutputType>
77
<DefineConstants>$(DefineConstants);NETSTANDARD;NETSTANDARD2_0</DefineConstants>

samples/Exceptionless.SampleHosting/Exceptionless.SampleHosting.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk.Web">
22

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

77
<ItemGroup>

samples/Exceptionless.SampleLambda/Exceptionless.SampleLambda.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
3-
<TargetFramework>netcoreapp3.1</TargetFramework>
3+
<TargetFramework>net5.0</TargetFramework>
44
<GenerateRuntimeConfigurationFiles>true</GenerateRuntimeConfigurationFiles>
55
<LangVersion>latest</LangVersion>
66
<AWSProjectType>Lambda</AWSProjectType>

samples/Exceptionless.SampleLambda/aws-lambda-tools-defaults.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"profile": "",
99
"region": "",
1010
"configuration": "Release",
11-
"framework": "netcoreapp3.1",
11+
"framework": "net5.0",
1212
"function-runtime": "dotnetcore3.1",
1313
"function-memory-size": 256,
1414
"function-timeout": 30,

samples/Exceptionless.SampleLambdaAspNetCore/Exceptionless.SampleLambdaAspNetCore.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<Project Sdk="Microsoft.NET.Sdk.Web">
22
<PropertyGroup>
3-
<TargetFramework>netcoreapp3.1</TargetFramework>
3+
<TargetFramework>net5.0</TargetFramework>
44
<GenerateRuntimeConfigurationFiles>true</GenerateRuntimeConfigurationFiles>
55
<AWSProjectType>Lambda</AWSProjectType>
66
</PropertyGroup>

samples/Exceptionless.SampleLambdaAspNetCore/aws-lambda-tools-defaults.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"profile": "",
99
"region": "",
1010
"configuration": "Release",
11-
"framework": "netcoreapp3.1",
11+
"framework": "net5.0",
1212
"function-runtime": "dotnetcore3.1",
1313
"function-memory-size": 256,
1414
"function-timeout": 30,

samples/Exceptionless.SampleWindows/Exceptionless.SampleWindows.csproj

+3-6
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
<Project Sdk="Microsoft.NET.Sdk.WindowsDesktop">
2-
<PropertyGroup Condition=" '$(OS)' != 'Windows_NT' ">
3-
<TargetFramework>netcoreapp3.1</TargetFramework>
4-
</PropertyGroup>
5-
<PropertyGroup Condition=" '$(OS)' == 'Windows_NT' ">
6-
<TargetFrameworks>netcoreapp3.1;net462</TargetFrameworks>
2+
<PropertyGroup>
3+
<TargetFrameworks>net5.0-windows;net462</TargetFrameworks>
74
</PropertyGroup>
85

96
<PropertyGroup>
@@ -13,7 +10,7 @@
1310
<GenerateResourceUsePreserializedResources>true</GenerateResourceUsePreserializedResources>
1411
</PropertyGroup>
1512

16-
<PropertyGroup Condition=" '$(TargetFramework)' == 'netcoreapp3.1' " Label="Build">
13+
<PropertyGroup Condition=" '$(TargetFramework)' == 'net5.0-windows' " Label="Build">
1714
<DefineConstants>$(DefineConstants);NETSTANDARD;NETSTANDARD2_0</DefineConstants>
1815
</PropertyGroup>
1916

samples/Exceptionless.SampleWpf/Exceptionless.SampleWpf.csproj

+5-7
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,16 @@
11
<Project Sdk="Microsoft.NET.Sdk.WindowsDesktop">
2-
<PropertyGroup Condition=" '$(OS)' != 'Windows_NT' ">
3-
<TargetFramework>netcoreapp3.1</TargetFramework>
4-
</PropertyGroup>
5-
<PropertyGroup Condition=" '$(OS)' == 'Windows_NT' ">
6-
<TargetFrameworks>netcoreapp3.1;net462</TargetFrameworks>
2+
3+
<PropertyGroup>
4+
<TargetFrameworks>net5.0-windows;net462</TargetFrameworks>
75
</PropertyGroup>
86

97
<PropertyGroup>
108
<OutputType>WinExe</OutputType>
119
<UseWPF>true</UseWPF>
1210
<RootNamespace>Exceptionless</RootNamespace>
1311
</PropertyGroup>
14-
15-
<PropertyGroup Condition=" '$(TargetFramework)' == 'netcoreapp3.1' " Label="Build">
12+
13+
<PropertyGroup Condition=" '$(TargetFramework)' == 'net5.0-windows' " Label="Build">
1614
<DefineConstants>$(DefineConstants);NETSTANDARD;NETSTANDARD2_0</DefineConstants>
1715
</PropertyGroup>
1816

src/Platforms/Exceptionless.Windows/Exceptionless.Windows.csproj

+3-6
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,8 @@
11
<Project Sdk="Microsoft.NET.Sdk.WindowsDesktop">
22
<Import Project="..\..\..\build\common.props" />
33

4-
<PropertyGroup Condition=" '$(OS)' != 'Windows_NT' ">
5-
<TargetFramework>netcoreapp3.1</TargetFramework>
6-
</PropertyGroup>
7-
<PropertyGroup Condition=" '$(OS)' == 'Windows_NT' ">
8-
<TargetFrameworks>netcoreapp3.1;net462</TargetFrameworks>
4+
<PropertyGroup>
5+
<TargetFrameworks>net5.0-windows;net462</TargetFrameworks>
96
</PropertyGroup>
107

118
<PropertyGroup Label="Package">
@@ -35,7 +32,7 @@
3532
<ProjectReference Include="..\..\Exceptionless\Exceptionless.csproj" />
3633
</ItemGroup>
3734

38-
<PropertyGroup Condition=" '$(TargetFramework)' == 'netcoreapp3.1' " Label="Build">
35+
<PropertyGroup Condition=" '$(TargetFramework)' == 'net5.0-windows' " Label="Build">
3936
<DefineConstants>$(DefineConstants);NETSTANDARD;NETSTANDARD2_0</DefineConstants>
4037
</PropertyGroup>
4138

src/Platforms/Exceptionless.Wpf/Exceptionless.Wpf.csproj

+3-6
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,8 @@
11
<Project Sdk="Microsoft.NET.Sdk.WindowsDesktop">
22
<Import Project="..\..\..\build\common.props" />
33

4-
<PropertyGroup Condition=" '$(OS)' != 'Windows_NT' ">
5-
<TargetFramework>netcoreapp3.1</TargetFramework>
6-
</PropertyGroup>
7-
<PropertyGroup Condition=" '$(OS)' == 'Windows_NT' ">
8-
<TargetFrameworks>netcoreapp3.1;net462</TargetFrameworks>
4+
<PropertyGroup>
5+
<TargetFrameworks>net5.0-windows;net462</TargetFrameworks>
96
</PropertyGroup>
107

118
<PropertyGroup Label="Package">
@@ -35,7 +32,7 @@
3532
<ProjectReference Include="..\..\Exceptionless\Exceptionless.csproj" />
3633
</ItemGroup>
3734

38-
<PropertyGroup Condition=" '$(TargetFramework)' == 'netcoreapp3.1' " Label="Build">
35+
<PropertyGroup Condition=" '$(TargetFramework)' == 'net5.0-windows' " Label="Build">
3936
<DefineConstants>$(DefineConstants);NETSTANDARD;NETSTANDARD2_0</DefineConstants>
4037
</PropertyGroup>
4138

test/Exceptionless.MessagePack.Tests/Exceptionless.MessagePack.Tests.csproj

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
<Import Project="..\..\build\common.props" />
33

44
<PropertyGroup Condition=" '$(OS)' != 'Windows_NT' ">
5-
<TargetFramework>netcoreapp3.1</TargetFramework>
5+
<TargetFramework>net5.0</TargetFramework>
66
</PropertyGroup>
77
<PropertyGroup Condition=" '$(OS)' == 'Windows_NT' ">
8-
<TargetFrameworks>netcoreapp3.1;net462</TargetFrameworks>
8+
<TargetFrameworks>net5.0;net462</TargetFrameworks>
99
</PropertyGroup>
1010

1111
<PropertyGroup>
@@ -30,7 +30,7 @@
3030
<ProjectReference Include="..\Exceptionless.TestHarness\Exceptionless.TestHarness.csproj" />
3131
</ItemGroup>
3232

33-
<PropertyGroup Condition=" '$(TargetFramework)' == 'netcoreapp3.1' " Label="Build">
33+
<PropertyGroup Condition=" '$(TargetFramework)' == 'net5.0' " Label="Build">
3434
<DefineConstants>$(DefineConstants);NETSTANDARD;NETSTANDARD2_0</DefineConstants>
3535
</PropertyGroup>
3636

test/Exceptionless.Tests/Exceptionless.Tests.csproj

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
<Import Project="..\..\build\common.props" />
33

44
<PropertyGroup Condition=" '$(OS)' != 'Windows_NT' ">
5-
<TargetFramework>netcoreapp3.1</TargetFramework>
5+
<TargetFramework>net5.0</TargetFramework>
66
</PropertyGroup>
77
<PropertyGroup Condition=" '$(OS)' == 'Windows_NT' ">
8-
<TargetFrameworks>netcoreapp3.1;net462</TargetFrameworks>
8+
<TargetFrameworks>net5.0;net462</TargetFrameworks>
99
</PropertyGroup>
1010

1111
<PropertyGroup>
@@ -19,7 +19,7 @@
1919
<None Include="app.config" />
2020
</ItemGroup>
2121

22-
<PropertyGroup Condition=" '$(TargetFramework)' == 'netcoreapp3.1' " Label="Build">
22+
<PropertyGroup Condition=" '$(TargetFramework)' == 'net5.0' " Label="Build">
2323
<DefineConstants>$(DefineConstants);NETSTANDARD;NETSTANDARD2_0</DefineConstants>
2424
</PropertyGroup>
2525

0 commit comments

Comments
 (0)