Skip to content

Commit

Permalink
more conditional target frameworks to build the project with VS2019 o…
Browse files Browse the repository at this point in the history
…r VS2022 and .Net 6.0
  • Loading branch information
micjahn committed Jan 24, 2022
1 parent e0c4f2f commit b1bc8d8
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,14 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup Condition="'$(VisualStudioVersion)' == '16.0'">
<TargetFrameworks>net461;netstandard2.0;netstandard2.1;netcoreapp3.1</TargetFrameworks>
</PropertyGroup>
<PropertyGroup Condition="'$(VisualStudioVersion)' == '17.0'">
<TargetFrameworks>net461;netstandard2.0;netstandard2.1;netcoreapp3.1;net6.0</TargetFrameworks>
</PropertyGroup>

<PropertyGroup>
<VersionPrefix>0.16.8</VersionPrefix>
<TargetFrameworks>net461;netstandard2.0;netstandard2.1;netcoreapp3.1;net6.0</TargetFrameworks>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<PlatformTarget>anycpu</PlatformTarget>
<PublicSign>true</PublicSign>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,14 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup Condition="'$(VisualStudioVersion)' == '16.0'">
<TargetFrameworks>netstandard2.0;netstandard2.1;netcoreapp3.0;netcoreapp3.1;net5.0-windows;</TargetFrameworks>
</PropertyGroup>
<PropertyGroup Condition="'$(VisualStudioVersion)' == '17.0'">
<TargetFrameworks>netstandard2.0;netstandard2.1;netcoreapp3.0;netcoreapp3.1;net5.0-windows;net6.0-windows</TargetFrameworks>
</PropertyGroup>

<PropertyGroup>
<VersionPrefix>0.16.10</VersionPrefix>
<TargetFrameworks>netstandard2.0;netstandard2.1;netcoreapp3.0;netcoreapp3.1;net5.0-windows;net6.0-windows</TargetFrameworks>
<CheckEolTargetFramework>false</CheckEolTargetFramework>
<PackageId>ZXing.Net.Bindings.Windows.Compatibility</PackageId>
<PlatformTarget>AnyCPU</PlatformTarget>
Expand Down

0 comments on commit b1bc8d8

Please sign in to comment.