Skip to content

Commit

Permalink
Downgrade Best.Conventional to target netstandard20 (rather than nets…
Browse files Browse the repository at this point in the history
…tandard21 which excludes .NET Framework consumption) (#98)
  • Loading branch information
todthomson authored Nov 4, 2024
1 parent 458b234 commit 75a6b3b
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/Core/Conventional.Tests/Conventional.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>netcoreapp3.1</TargetFramework>
<TargetFrameworks>net6.0;net8.0</TargetFrameworks>
<Version>0.0.0.0</Version>
</PropertyGroup>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -847,7 +847,7 @@ public HasImmutablePropertiesDerived(string[] names, int age)

public string[] Names { get; }

public int Age { get; }
public new int Age { get; }
}

[Test]
Expand Down
6 changes: 3 additions & 3 deletions src/Core/Conventional/Conventional.csproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netstandard2.1</TargetFramework>
<TargetFramework>netstandard2.0</TargetFramework>
<PackageId>Best.Conventional</PackageId>
<Title>Best.Conventional</Title>
<Authors>Andrew Best</Authors>
Expand All @@ -13,6 +13,7 @@
<Copyright>Copyright © 2017, Andrew Best</Copyright>
<Version>0.0.0.0</Version>
<PackageVersion>0.0.0.0</PackageVersion>
<LangVersion>8.0</LangVersion>
</PropertyGroup>
<ItemGroup>
<None Remove="Conventions\Database\AllCheckConstraintsMustBeNamedConventionSpecification.sql" />
Expand Down Expand Up @@ -41,7 +42,6 @@
<ItemGroup>
<PackageReference Include="Microsoft.CSharp" Version="4.4.1" />
<PackageReference Include="Mono.Cecil" Version="0.10.0" />
<PackageReference Include="System.Data.Common" Version="4.3.0" />
<PackageReference Include="System.Data.SqlClient" Version="4.8.5" />
<PackageReference Include="System.Data.SqlClient" Version="4.8.6" />
</ItemGroup>
</Project>
4 changes: 2 additions & 2 deletions src/Core/global.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"sdk": {
"version": "3.1.000",
"rollForward": "minor"
"version": "8.0.303",
"rollForward": "feature"
}
}

0 comments on commit 75a6b3b

Please sign in to comment.