Skip to content

Commit

Permalink
net 8 migration (#7)
Browse files Browse the repository at this point in the history
* net 8 migration + nuget update

* package version update
  • Loading branch information
NikolayKorsakov authored Dec 17, 2024
1 parent 0b7a6ac commit 94608e7
Show file tree
Hide file tree
Showing 6 changed files with 32 additions and 32 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- name: install dotnet
uses: actions/setup-dotnet@v4
with:
dotnet-version: 6.0.x
dotnet-version: 8.0.x

- name: install packages
run: dotnet restore
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- name: install dotnet
uses: actions/setup-dotnet@v4
with:
dotnet-version: 6.0.x
dotnet-version: 8.0.x

- name: install packages
run: dotnet restore
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: install dotnet
uses: actions/setup-dotnet@v4
with:
dotnet-version: 6.0.x
dotnet-version: 8.0.x

- name: build
run: dotnet build
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ A detailed overview on how to contribute can be found in the [contributing guide
Make sure you have installed all of the following prerequisites on your development machine:

- Git - [Download & Install Git](https://git-scm.com/downloads). OSX and Linux machines typically have this already installed.
- .NET Core (version 3.1 or higher) - [Download & Install .NET Core](https://dotnet.microsoft.com/download/dotnet-core/3.1).
- .NET (version 8.0 or higher) - [Download & Install .NET](https://dotnet.microsoft.com/en-us/download/dotnet/8.0).

## General folders layout

Expand Down
6 changes: 3 additions & 3 deletions src/Byndyusoft.Net.Http.MessagePack.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<IsPackable>true</IsPackable>
<TargetFrameworks>netstandard2.0;net6.0</TargetFrameworks>
<TargetFrameworks>netstandard2.0;net8.0</TargetFrameworks>
<PackageIcon>icon.png</PackageIcon>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<RootNamespace>System.Net.Http.MessagePack</RootNamespace>
Expand All @@ -18,7 +18,7 @@
System.Net.Http.MessagePack.Formatting.MessagePackMediaTypeFormatter
</Description>
<PackageTags>Byndyusoft;Net;Http;MessagePack</PackageTags>
<Version>0.5.4</Version>
<Version>0.6.0</Version>
<Authors>Byndyusoft</Authors>
<RepositoryUrl>https://github.com/Byndyusoft/Byndyusoft.Net.Http.MessagePack</RepositoryUrl>
<RepositoryType>git</RepositoryType>
Expand All @@ -30,7 +30,7 @@

<ItemGroup>
<PackageReference Include="Byndyusoft.Net.Http" Version="0.4.4" />
<PackageReference Include="MessagePack" Version="2.5.192" />
<PackageReference Include="MessagePack" Version="3.1.0" />
</ItemGroup>

</Project>
50 changes: 25 additions & 25 deletions tests/Byndyusoft.Net.Http.MessagePack.Tests.csproj
Original file line number Diff line number Diff line change
@@ -1,30 +1,30 @@
<Project Sdk="Microsoft.NET.Sdk.Web">
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net6.0</TargetFrameworks>
<RootNamespace>System.Net.Http.Tests</RootNamespace>
<IsPackable>false</IsPackable>
<AspNetCoreHostingModel>InProcess</AspNetCoreHostingModel>
<NoDefaultLaunchSettingsFile>true</NoDefaultLaunchSettingsFile>
</PropertyGroup>
<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<RootNamespace>System.Net.Http.Tests</RootNamespace>
<IsPackable>false</IsPackable>
<AspNetCoreHostingModel>InProcess</AspNetCoreHostingModel>
<NoDefaultLaunchSettingsFile>true</NoDefaultLaunchSettingsFile>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Byndyusoft.AspNetCore.Mvc.Formatters.MessagePack" Version="0.3.1" />
<PackageReference Include="MessagePack" Version="2.5.192" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.11.1" />
<PackageReference Include="xunit" Version="2.9.2" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.8.2">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="coverlet.collector" Version="6.0.2">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
</ItemGroup>
<ItemGroup>
<PackageReference Include="Byndyusoft.AspNetCore.Mvc.Formatters.MessagePack" Version="0.3.1" />
<PackageReference Include="MessagePack" Version="3.1.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.12.0" />
<PackageReference Include="xunit" Version="2.9.2" />
<PackageReference Include="xunit.runner.visualstudio" Version="3.0.0">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="coverlet.collector" Version="6.0.2">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
</ItemGroup>

<ItemGroup>
<ProjectReference Include="$(SolutionDir)\src\Byndyusoft.Net.Http.MessagePack.csproj" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="$(SolutionDir)\src\Byndyusoft.Net.Http.MessagePack.csproj" />
</ItemGroup>

</Project>

0 comments on commit 94608e7

Please sign in to comment.