Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: support .net8 and .net4.8.1 #170

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,11 @@ Serialize.Linq has a comprehensive test suite. You can run the tests using your

## Supported Platforms (or known to work with)

- .NET 8.0
- .NET 7.0
- .NET 6.0
- .NET 5.0
- .NET 4.8
- .NET 4.8.1

## License

Expand Down
2 changes: 1 addition & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: 3.0.{build}
version: 3.1.{build}
configuration:
- Release
image: Visual Studio 2022
Expand Down
46 changes: 34 additions & 12 deletions src/Serialize.Linq/Serialize.Linq.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,10 @@
<SignAssembly>true</SignAssembly>
<PublicSign Condition=" '$(OS)' != 'Windows_NT' ">true</PublicSign>
<PackageTags>linq;serialize</PackageTags>
<PackageReleaseNotes>- fix serialization of onbound toString expressions</PackageReleaseNotes>
<PackageReleaseNotes>- support for .NET 8.0
- support for .NET 4.8.1
- drop support for .NET 5.0 </PackageReleaseNotes>
</PackageReleaseNotes>
<PackageProjectUrl>https://github.com/esskar/Serialize.Linq</PackageProjectUrl>
<PackageLicenseUrl></PackageLicenseUrl>
<RepositoryType>git</RepositoryType>
Expand All @@ -26,10 +29,10 @@
</PropertyGroup>

<PropertyGroup>
<TargetFrameworks>net48;net5.0;net6.0;net7.0;netstandard2.0;netstandard2.1</TargetFrameworks>
<Version>3.0.0</Version>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<FileVersion>3.0.0.0</FileVersion>
<TargetFrameworks>net48;net481;net6.0;net7.0;net8.0;netstandard2.0;netstandard2.1</TargetFrameworks>
<Version>3.1.0</Version>
<AssemblyVersion>3.1.0.0</AssemblyVersion>
<FileVersion>3.1.0.0</FileVersion>
<PackageLicenseFile>LICENSE</PackageLicenseFile>
</PropertyGroup>

Expand Down Expand Up @@ -57,23 +60,22 @@
<WarningLevel>7</WarningLevel>
</PropertyGroup>

<PropertyGroup
Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|net5.0|AnyCPU'">
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|net481|AnyCPU'">
<WarningLevel>7</WarningLevel>
</PropertyGroup>

<PropertyGroup
Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|net5.0|AnyCPU'">
Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|net481|AnyCPU'">
<WarningLevel>7</WarningLevel>
</PropertyGroup>

<PropertyGroup
Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug Optimize Size|net5.0|AnyCPU'">
Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug Optimize Size|net481|AnyCPU'">
<WarningLevel>7</WarningLevel>
</PropertyGroup>

<PropertyGroup
Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release Optimize Size|net5.0|AnyCPU'">
Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release Optimize Size|net481|AnyCPU'">
<WarningLevel>7</WarningLevel>
</PropertyGroup>

Expand Down Expand Up @@ -117,15 +119,35 @@
<WarningLevel>7</WarningLevel>
</PropertyGroup>

<ItemGroup Condition=" '$(TargetFramework)' == 'net5.0' ">
</ItemGroup>
<PropertyGroup
Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|net7.0|AnyCPU'">
<WarningLevel>7</WarningLevel>
</PropertyGroup>

<PropertyGroup
Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|net8.0|AnyCPU'">
<WarningLevel>7</WarningLevel>
</PropertyGroup>

<PropertyGroup
Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug Optimize Size|net8.0|AnyCPU'">
<WarningLevel>7</WarningLevel>
</PropertyGroup>

<PropertyGroup
Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release Optimize Size|net8.0|AnyCPU'">
<WarningLevel>7</WarningLevel>
</PropertyGroup>

<ItemGroup Condition=" '$(TargetFramework)' == 'net6.0' ">
</ItemGroup>

<ItemGroup Condition=" '$(TargetFramework)' == 'net7.0' ">
</ItemGroup>

<ItemGroup Condition=" '$(TargetFramework)' == 'net8.0' ">
</ItemGroup>

<ItemGroup>
<None Include="..\..\LICENSE" Pack="true" PackagePath="" />
<None Include="..\..\README.md" Pack="true" PackagePath="\" />
Expand Down