mirror of
https://github.com/zoriya/octokit.net.git
synced 2025-12-06 07:16:09 +00:00
add netstandard2.0 output (#2006)
This commit is contained in:
@@ -7,9 +7,8 @@
|
||||
<Version>0.0.0-dev</Version>
|
||||
<GenerateDocumentationFile>true</GenerateDocumentationFile>
|
||||
<CoreOnly Condition="$(CoreOnly) == '' and $([MSBuild]::IsOsPlatform('Windows'))">False</CoreOnly>
|
||||
<TargetFrameworks>netstandard1.1</TargetFrameworks>
|
||||
<TargetFrameworks>netstandard1.1;netstandard2.0</TargetFrameworks>
|
||||
<TargetFrameworks Condition="$(CoreOnly) != '' and !$(CoreOnly)">$(TargetFrameworks);net45;net46</TargetFrameworks>
|
||||
<NetStandardImplicitPackageVersion>1.6.0</NetStandardImplicitPackageVersion>
|
||||
<AssemblyName>Octokit.Reactive</AssemblyName>
|
||||
<PackageId>Octokit.Reactive</PackageId>
|
||||
<DebugType>embedded</DebugType>
|
||||
@@ -21,6 +20,14 @@
|
||||
<Copyright>Copyright GitHub 2017</Copyright>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition=" '$(TargetFramework)' == 'netstandard1.1' ">
|
||||
<NetStandardImplicitPackageVersion>1.6.0</NetStandardImplicitPackageVersion>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition=" '$(TargetFramework)' == 'netstandard2.0' ">
|
||||
<NetStandardImplicitPackageVersion>2.0.0</NetStandardImplicitPackageVersion>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup>
|
||||
<NoWarn>1591;1701;1702;1705</NoWarn>
|
||||
</PropertyGroup>
|
||||
|
||||
@@ -7,9 +7,8 @@
|
||||
<Version>0.0.0-dev</Version>
|
||||
<GenerateDocumentationFile>true</GenerateDocumentationFile>
|
||||
<CoreOnly Condition="$(CoreOnly) == '' and $([MSBuild]::IsOsPlatform('Windows'))">False</CoreOnly>
|
||||
<TargetFrameworks>netstandard1.1</TargetFrameworks>
|
||||
<TargetFrameworks>netstandard1.1;netstandard2.0</TargetFrameworks>
|
||||
<TargetFrameworks Condition="$(CoreOnly) != '' and !$(CoreOnly)">$(TargetFrameworks);net45;net46</TargetFrameworks>
|
||||
<NetStandardImplicitPackageVersion>1.6.0</NetStandardImplicitPackageVersion>
|
||||
<AssemblyName>Octokit</AssemblyName>
|
||||
<PackageId>Octokit</PackageId>
|
||||
<DebugType>embedded</DebugType>
|
||||
@@ -21,10 +20,18 @@
|
||||
<Copyright>Copyright GitHub 2017</Copyright>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition=" '$(TargetFramework)' == 'netstandard1.1' ">
|
||||
<PropertyGroup Condition=" '$(TargetFramework)' == 'netstandard1.1' or '$(TargetFramework)' == 'netstandard2.0' ">
|
||||
<DefineConstants>$(DefineConstants);HAS_TYPEINFO;SIMPLE_JSON_INTERNAL;SIMPLE_JSON_OBJARRAYINTERNAL;SIMPLE_JSON_READONLY_COLLECTIONS;SIMPLE_JSON_TYPEINFO;NO_SERIALIZABLE</DefineConstants>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition=" '$(TargetFramework)' == 'netstandard1.1' ">
|
||||
<NetStandardImplicitPackageVersion>1.6.0</NetStandardImplicitPackageVersion>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition=" '$(TargetFramework)' == 'netstandard2.0' ">
|
||||
<NetStandardImplicitPackageVersion>2.0.0</NetStandardImplicitPackageVersion>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition=" '$(TargetFramework)' == 'net45' or '$(TargetFramework)' == 'net46' ">
|
||||
<DefineConstants>$(DefineConstants);HAS_ENVIRONMENT;HAS_REGEX_COMPILED_OPTIONS;SIMPLE_JSON_INTERNAL;SIMPLE_JSON_OBJARRAYINTERNAL;SIMPLE_JSON_READONLY_COLLECTIONS;HAS_SERVICEPOINTMANAGER</DefineConstants>
|
||||
</PropertyGroup>
|
||||
|
||||
Reference in New Issue
Block a user