Skip to content

Commit

Permalink
feat: add back dotnet 7
Browse files Browse the repository at this point in the history
  • Loading branch information
wmundev committed Mar 26, 2024
1 parent 3aac288 commit 36a5567
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 9 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>netframework4.8;net6.0;net8.0</TargetFrameworks>
<TargetFrameworks>netframework4.8;net6.0;net7.0;net8.0</TargetFrameworks>
<NoWarn>$(NoWarn);1591;CA1014;CA1062;CA1707</NoWarn>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<EnableNETAnalyzers>true</EnableNETAnalyzers>
Expand All @@ -10,12 +10,8 @@
<IsPackable>false</IsPackable>
</PropertyGroup>

<PropertyGroup Condition="'$(TargetFramework)' == 'net6.0'">
<Nullable>enable</Nullable>
</PropertyGroup>

<PropertyGroup Condition="'$(TargetFramework)' == 'net8.0'">
<Nullable>enable</Nullable>
<PropertyGroup Condition="'$(TargetFramework)' == 'net6.0' Or '$(TargetFramework)' == 'net7.0' Or '$(TargetFramework)' == 'net8.0'">
<Nullable>enable</Nullable>
</PropertyGroup>

<ItemGroup>
Expand Down
4 changes: 2 additions & 2 deletions csharp/PhoneNumbers.Test/PhoneNumbers.Test.csproj
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>netframework4.8;net6.0;net8.0</TargetFrameworks>
<TargetFrameworks>netframework4.8;net6.0;net7.0;net8.0</TargetFrameworks>
<AssemblyName>PhoneNumbers.Test</AssemblyName>
<PackageId>PhoneNumbers.Test</PackageId>
<DebugType>full</DebugType>
<NoWarn>$(NoWarn);CA1014;CA1707</NoWarn>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
</PropertyGroup>

<PropertyGroup Condition="'$(TargetFramework)' == 'net6.0' Or '$(TargetFramework)' == 'net8.0'">
<PropertyGroup Condition="'$(TargetFramework)' == 'net6.0' Or '$(TargetFramework)' == 'net7.0' Or '$(TargetFramework)' == 'net8.0'">
<Nullable>enable</Nullable>
</PropertyGroup>

Expand Down

0 comments on commit 36a5567

Please sign in to comment.