Skip to content

Commit

Permalink
Add support for .net 7 and 8
Browse files Browse the repository at this point in the history
  • Loading branch information
nh43de committed May 1, 2024
1 parent a00f1ad commit 5effd00
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/DataPowerTools/DataPowerTools.csproj
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>net462;netstandard2.0;</TargetFrameworks>
<TargetFrameworks>net462;netstandard2.0;net7.0;net8.0</TargetFrameworks>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
<PackageId>DataPowerTools</PackageId>
<AssemblyName>DataPowerTools</AssemblyName>
Expand All @@ -27,7 +27,7 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.CSharp" Version="4.7.0" />
<PackageReference Include="Microsoft.Data.SqlClient" Version="5.1.0" />
<PackageReference Include="Microsoft.Data.SqlClient" Version="5.2.0" />
<PackageReference Include="MinVer" Version="4.3.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
Expand Down
3 changes: 2 additions & 1 deletion src/DataPowerTools/Extensions/TypeExtensions.cs
Expand Up @@ -174,8 +174,9 @@ public static string[] GetColumnMemberNames(this Type type, bool ignoreNonString
/// <summary>
/// Determine whether a type is simple (String, Decimal, DateTime, etc)
/// or complex (i.e. custom class with public properties and methods).
///
/// http://stackoverflow.com/questions/2442534/how-to-test-if-type-is-primitive
/// </summary>
/// <see cref="http://stackoverflow.com/questions/2442534/how-to-test-if-type-is-primitive"/>
public static bool IsSimpleType(
this Type type)
{
Expand Down

0 comments on commit 5effd00

Please sign in to comment.