Skip to content

Commit

Permalink
Support for netstandard1.6
Browse files Browse the repository at this point in the history
  • Loading branch information
Timm Bremus committed Oct 8, 2018
1 parent 7027ec5 commit 6991abd
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ namespace BSolutions.Brecons.Core.Attributes.Controls
using BSolutions.Brecons.Core.Extensions;
using System;
using System.Linq;
using System.Reflection;

/// <summary>
/// Marks a tag helper Attribute as mandatory.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<TargetFrameworks>netstandard1.6;netstandard2.0</TargetFrameworks>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
<PackageLicenseUrl>https://www.apache.org/licenses/LICENSE-2.0</PackageLicenseUrl>
Expand All @@ -19,11 +19,17 @@
- Enumeration for Table Border Style</PackageReleaseNotes>
<AssemblyVersion>2.1.6.0</AssemblyVersion>
<FileVersion>2.1.6.0</FileVersion>
<Version>2.1.6-alpha1</Version>
<Version>2.1.6</Version>
</PropertyGroup>

<PropertyGroup>
<DefineConstants Condition="'$(TargetFramework)' == 'netstandard1.6'">NETSTANDARD_1_6</DefineConstants>
<DefineConstants Condition="'$(TargetFramework)' != 'netstandard2.0'">NETSTANDARD_2_0</DefineConstants>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.Mvc.TagHelpers" Version="2.1.2" />
<PackageReference Include="Microsoft.AspNetCore.Mvc.TagHelpers" Version="1.1.8" Condition="'$(TargetFramework)' == 'netstandard1.6'" />
<PackageReference Include="Microsoft.AspNetCore.Mvc.TagHelpers" Version="2.1.2" Condition="'$(TargetFramework)' == 'netstandard2.0'" />
</ItemGroup>

</Project>

0 comments on commit 6991abd

Please sign in to comment.