Skip to content

Commit

Permalink
Merge pull request #365 from Caleb9/master
Browse files Browse the repository at this point in the history
Target net6.0 and remove trimming warning
  • Loading branch information
vkhorikov authored Nov 23, 2021
2 parents 316346a + 7f43e96 commit 26a9df7
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net5.0</TargetFramework>
<TargetFramework>net6.0</TargetFramework>
<LangVersion>8.0</LangVersion>
<NoWarn>0618</NoWarn>
</PropertyGroup>
Expand Down
6 changes: 5 additions & 1 deletion CSharpFunctionalExtensions/CSharpFunctionalExtensions.csproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>net40;net45;net461;net472;netstandard2.0;net5.0</TargetFrameworks>
<TargetFrameworks>net40;net45;net461;net472;netstandard2.0;net5.0;net6.0</TargetFrameworks>
<PackageId>CSharpFunctionalExtensions</PackageId>
<Authors>Vladimir Khorikov</Authors>
<Description>CSharpFunctionalExtensions - functional extensions for C#</Description>
Expand Down Expand Up @@ -32,6 +32,10 @@
<PropertyGroup Condition="'$(TargetFramework)'=='net5.0'">
<AssemblyTitle>CSharpFunctionalExtensions .NET 5.0</AssemblyTitle>
</PropertyGroup>
<PropertyGroup Condition="'$(TargetFramework)'=='net6.0'">
<AssemblyTitle>CSharpFunctionalExtensions .NET 6.0</AssemblyTitle>
<IsTrimmable>true</IsTrimmable>
</PropertyGroup>

<ItemGroup Condition="'$(TargetFramework)'=='net40'">
<PackageReference Include="Microsoft.Bcl.Async" Version="1.0.168" />
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM mcr.microsoft.com/dotnet/sdk:5.0 as build
FROM mcr.microsoft.com/dotnet/sdk:6.0 as build

ARG Version
WORKDIR /app
Expand Down

0 comments on commit 26a9df7

Please sign in to comment.