Skip to content

Commit

Permalink
added support for .net framework 4.x (#57)
Browse files Browse the repository at this point in the history
* added support for .net framework 4.6

* moved to dotnet 5.0.x

* moved to dotnet 5 for the test project
  • Loading branch information
kunalshetye authored Oct 8, 2021
1 parent cbaea26 commit 325250c
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: '3.1.x'
dotnet-version: '5.0.x'
- name: Build
run: dotnet build --configuration Release

Expand All @@ -36,7 +36,7 @@ jobs:
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: '3.1.x'
dotnet-version: '5.0.x'

- name: Install dependencies
run: dotnet restore
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: '3.1.x'
dotnet-version: '5.0.x'
- name: Build
run: dotnet build --configuration Release

Expand Down
7 changes: 2 additions & 5 deletions Bynder/Sdk/Bynder.Sdk.csproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<TargetFrameworks>netstandard2.0;net46</TargetFrameworks>
<AssemblyVersion>2.2.4.0</AssemblyVersion>
<FileVersion>2.2.4.0</FileVersion>
<Company>Bynder</Company>
Expand All @@ -21,14 +21,11 @@
<PackageTags>Bynder API C# SDK</PackageTags>
<Title>Bynder.Sdk</Title>
<PackageId>Bynder.Sdk</PackageId>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.AspNet.WebApi.Client" Version="5.2.7" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.1" />
<PackageReference Include="NuGet.Build.Packaging" Version="0.2.2">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
</ItemGroup>
<ItemGroup>
<AssemblyAttribute Include="System.Runtime.CompilerServices.InternalsVisibleTo">
Expand Down
3 changes: 3 additions & 0 deletions Bynder/Sdk/Bynder.Sdk.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,7 @@
<copyright>Copyright © Bynder</copyright>
<tags>Bynder API C# SDK</tags>
</metadata>
<files>
<file src=".\**" target="lib/{framework name}[{version}]" />
</files>
</package>
2 changes: 1 addition & 1 deletion Bynder/Test/Bynder.Test.csproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netcoreapp3.1</TargetFramework>
<TargetFramework>net5.0</TargetFramework>
<IsTestProject>true</IsTestProject>
<AssemblyVersion>2.0.0</AssemblyVersion>
<FileVersion>2.0.0</FileVersion>
Expand Down

0 comments on commit 325250c

Please sign in to comment.