Skip to content

Commit

Permalink
Add netstandard2.0 as target framework (Speedygeek#334)
Browse files Browse the repository at this point in the history
* Add netstandard2.0 as target framework

* Convert test project to netcoreapp2.0
  • Loading branch information
mbp authored and mozts2005 committed Jun 23, 2018
1 parent 28a8fdb commit ee639b2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion src/ZendeskApi_v2/ZendeskApi_v2.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,17 @@
<PropertyGroup>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<!--;net35-->
<TargetFrameworks>net40;net45;portable40-net40+sl5+win8+wpa81+wp8;uap10.0</TargetFrameworks>
<TargetFrameworks>net40;net45;portable40-net40+sl5+win8+wpa81+wp8;uap10.0;netstandard2.0</TargetFrameworks>
</PropertyGroup>

<PropertyGroup Condition="'$(TargetFramework)'=='net45'">
<DefineConstants>$(DefineConstants);ASYNC;SYNC</DefineConstants>
</PropertyGroup>

<PropertyGroup Condition="'$(TargetFramework)'=='netstandard2.0'">
<DefineConstants>$(DefineConstants);ASYNC;SYNC</DefineConstants>
</PropertyGroup>

<PropertyGroup Condition="'$(TargetFramework)'=='net40'">
<DefineConstants>$(DefineConstants);ASYNC;SYNC</DefineConstants>
</PropertyGroup>
Expand Down
2 changes: 1 addition & 1 deletion test/ZendeskApi_v2.Test/ZendeskApi_v2.Test.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>NET45</TargetFramework>
<TargetFramework>netcoreapp2.0</TargetFramework>
<IsPackable>false</IsPackable>
</PropertyGroup>

Expand Down

0 comments on commit ee639b2

Please sign in to comment.