Skip to content

Commit

Permalink
Add targetting .NET 6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Caleb9 committed Nov 21, 2021
1 parent 316346a commit 4dd3292
Show file tree
Hide file tree
Showing 3 changed files with 6 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
5 changes: 4 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,9 @@
<PropertyGroup Condition="'$(TargetFramework)'=='net5.0'">
<AssemblyTitle>CSharpFunctionalExtensions .NET 5.0</AssemblyTitle>
</PropertyGroup>
<PropertyGroup Condition="'$(TargetFramework)'=='net6.0'">
<AssemblyTitle>CSharpFunctionalExtensions .NET 6.0</AssemblyTitle>
</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 4dd3292

Please sign in to comment.