Skip to content

Commit

Permalink
COREX-557 upgrade loggly to support net8.0 (#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
LeuisKen committed May 17, 2024
1 parent 3408ab8 commit 4c5ebbf
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 9 deletions.
4 changes: 2 additions & 2 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
max_jobs: 1

image: Visual Studio 2019
image: Visual Studio 2022

cache:
- '%LocalAppData%\NuGet\v3-cache'
Expand All @@ -11,7 +11,7 @@ nuget:
disable_publish_on_pr: true

install:
- cmd: dotnet tool install -g Cake.Tool --version 0.37.0
- cmd: dotnet tool install -g Cake.Tool --version 0.38.5

build_script:
- cmd: dotnet cake --target=Full
Expand Down
20 changes: 14 additions & 6 deletions src/Logging/Loggly/Loggly.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>netstandard2.0;net461</TargetFrameworks>
<TargetFrameworks>netstandard2.0;net461;net8.0</TargetFrameworks>
<AssemblyName>EMG.Extensions.Logging.Loggly</AssemblyName>
<RootNamespace>EMG.Extensions.Logging</RootNamespace>
<LangVersion>latest</LangVersion>
Expand All @@ -12,9 +12,17 @@
<PackageTags>dotnet-standard;logging;loggly</PackageTags>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.Extensions.Logging" Version="2.1.1" />
<PackageReference Include="Newtonsoft.Json" Version="9.0.1" />
<PackageReference Include="System.Reactive.Linq" Version="3.1.1" />
<ItemGroup Condition=" '$(TargetFramework)' != 'net8.0' ">
<PackageReference Include="Microsoft.Extensions.Logging" Version="2.1.1" />
<PackageReference Include="Newtonsoft.Json" Version="9.0.1" />
<PackageReference Include="System.Reactive.Linq" Version="4.4.1" />
</ItemGroup>
</Project>

<ItemGroup Condition=" '$(TargetFramework)' == 'net8.0' ">
<PackageReference Include="Microsoft.Extensions.Configuration" Version="8.0.0" />
<PackageReference Include="Microsoft.Extensions.Configuration.Binder" Version="8.0.1" />
<PackageReference Include="Microsoft.Extensions.Logging" Version="8.0.0" />
<PackageReference Include="Newtonsoft.Json" Version="10.0.3" />
<PackageReference Include="System.Reactive.Linq" Version="4.4.1" />
</ItemGroup>
</Project>
2 changes: 1 addition & 1 deletion tests/Logging/Tests.Loggly/Tests.Loggly.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>netcoreapp2.2;net48</TargetFrameworks>
<TargetFrameworks>netcoreapp3.1;net48</TargetFrameworks>
<IsPackable>false</IsPackable>
</PropertyGroup>

Expand Down

0 comments on commit 4c5ebbf

Please sign in to comment.