Skip to content

Commit 2e5e716

Browse files
committed
Added more .netstandard 2.0 targets and updated aspnetcore client to 2.0
1 parent baedbd1 commit 2e5e716

File tree

17 files changed

+93
-146
lines changed

17 files changed

+93
-146
lines changed
Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
<Project Sdk="Microsoft.NET.Sdk.Web">
22

33
<PropertyGroup>
4-
<TargetFramework>netcoreapp1.0</TargetFramework>
4+
<TargetFramework>netcoreapp2.0</TargetFramework>
55
<DebugType>portable</DebugType>
66
<PreserveCompilationContext>true</PreserveCompilationContext>
77
<AssemblyName>Exceptionless.SampleAspNetCore</AssemblyName>
88
<OutputType>Exe</OutputType>
99
<PackageId>Exceptionless.SampleAspNetCore</PackageId>
10-
<RuntimeFrameworkVersion>1.0.4</RuntimeFrameworkVersion>
11-
<PackageTargetFallback>$(PackageTargetFallback);dotnet5.6;portable-net45+win8</PackageTargetFallback>
10+
<RuntimeFrameworkVersion>2.0.0</RuntimeFrameworkVersion>
11+
<AssetTargetFallback>$(AssetTargetFallback);dotnet5.6;portable-net45+win8</AssetTargetFallback>
1212
</PropertyGroup>
1313

1414
<ItemGroup>
@@ -17,18 +17,18 @@
1717
</ItemGroup>
1818

1919
<ItemGroup>
20-
<PackageReference Include="Microsoft.AspNetCore.Mvc" Version="1.1.3" />
21-
<PackageReference Include="Microsoft.AspNetCore.Server.IISIntegration" Version="1.1.2" />
22-
<PackageReference Include="Microsoft.AspNetCore.Server.Kestrel" Version="1.1.2" />
23-
<PackageReference Include="Microsoft.Extensions.Configuration.EnvironmentVariables" Version="1.1.2" />
24-
<PackageReference Include="Microsoft.Extensions.Configuration.FileExtensions" Version="1.1.2" />
25-
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="1.1.2" />
26-
<PackageReference Include="Microsoft.Extensions.Logging" Version="1.1.2" />
27-
<PackageReference Include="Microsoft.Extensions.Logging.Console" Version="1.1.2" />
28-
<PackageReference Include="Microsoft.Extensions.Logging.Debug" Version="1.1.2" />
20+
<PackageReference Include="Microsoft.AspNetCore.Mvc" Version="2.0.0" />
21+
<PackageReference Include="Microsoft.AspNetCore.Server.IISIntegration" Version="2.0.0" />
22+
<PackageReference Include="Microsoft.AspNetCore.Server.Kestrel" Version="2.0.0" />
23+
<PackageReference Include="Microsoft.Extensions.Configuration.EnvironmentVariables" Version="2.0.0" />
24+
<PackageReference Include="Microsoft.Extensions.Configuration.FileExtensions" Version="2.0.0" />
25+
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="2.0.0" />
26+
<PackageReference Include="Microsoft.Extensions.Logging" Version="2.0.0" />
27+
<PackageReference Include="Microsoft.Extensions.Logging.Console" Version="2.0.0" />
28+
<PackageReference Include="Microsoft.Extensions.Logging.Debug" Version="2.0.0" />
2929
</ItemGroup>
3030

31-
<PropertyGroup Condition=" '$(TargetFramework)' == 'netcoreapp1.0' ">
32-
<DefineConstants>$(DefineConstants);NETSTANDARD;NETSTANDARD1_5</DefineConstants>
31+
<PropertyGroup Condition=" '$(TargetFramework)' == 'netcoreapp2.0' ">
32+
<DefineConstants>$(DefineConstants);NETSTANDARD;NETSTANDARD2_0</DefineConstants>
3333
</PropertyGroup>
3434
</Project>
Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>netcoreapp1.0</TargetFramework>
4+
<TargetFramework>netcoreapp2.0</TargetFramework>
55
<AssemblyName>Exceptionless.SampleConsole</AssemblyName>
66
<OutputType>Exe</OutputType>
7-
<RuntimeFrameworkVersion>1.0.4</RuntimeFrameworkVersion>
7+
<RuntimeFrameworkVersion>2.0.0</RuntimeFrameworkVersion>
88
</PropertyGroup>
99

1010
<ItemGroup>
@@ -19,17 +19,16 @@
1919
</ItemGroup>
2020

2121
<ItemGroup>
22-
<PackageReference Include="Exceptionless.DateTimeExtensions" Version="3.2.75" />
23-
<PackageReference Include="Exceptionless.RandomData" Version="1.1.35" />
22+
<PackageReference Include="Exceptionless.DateTimeExtensions" Version="3.2.86" />
23+
<PackageReference Include="Exceptionless.RandomData" Version="1.1.47" />
2424
</ItemGroup>
2525

2626
<ItemGroup>
2727
<Folder Include="Properties\" />
2828
</ItemGroup>
2929

30-
<PropertyGroup Condition=" '$(TargetFramework)' == 'netcoreapp1.0' ">
31-
<DefineConstants>$(DefineConstants);NETSTANDARD;NETSTANDARD1_5</DefineConstants>
30+
<PropertyGroup Condition=" '$(TargetFramework)' == 'netcoreapp2.0' ">
31+
<DefineConstants>$(DefineConstants);NETSTANDARD;NETSTANDARD2_0</DefineConstants>
3232
<DebugType>portable</DebugType>
3333
</PropertyGroup>
34-
35-
</Project>
34+
</Project>

samples/Exceptionless.SampleMvc/Exceptionless.SampleMvc.csproj

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -180,13 +180,8 @@
180180
<ItemGroup>
181181
<Folder Include="Properties\" />
182182
</ItemGroup>
183-
<PropertyGroup>
184-
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">10.0</VisualStudioVersion>
185-
<VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath>
186-
</PropertyGroup>
187183
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
188-
<Import Project="$(VSToolsPath)\WebApplications\Microsoft.WebApplication.targets" Condition="'$(VSToolsPath)' != ''" />
189-
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v10.0\WebApplications\Microsoft.WebApplication.targets" Condition="false" />
184+
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v15.0\WebApplications\Microsoft.WebApplication.targets" Condition="false" />
190185
<Target Name="MvcBuildViews" AfterTargets="AfterBuild" Condition="'$(MvcBuildViews)'=='true'">
191186
<AspNetCompiler VirtualPath="temp" PhysicalPath="$(WebProjectOutputDir)" />
192187
</Target>
@@ -208,11 +203,4 @@
208203
</FlavorProperties>
209204
</VisualStudio>
210205
</ProjectExtensions>
211-
<Import Project="..\..\packages\Microsoft.Bcl.Build.1.0.21\build\Microsoft.Bcl.Build.targets" Condition="Exists('..\..\packages\Microsoft.Bcl.Build.1.0.21\build\Microsoft.Bcl.Build.targets')" />
212-
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
213-
<PropertyGroup>
214-
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
215-
</PropertyGroup>
216-
<Error Condition="!Exists('..\..\packages\Microsoft.Bcl.Build.1.0.21\build\Microsoft.Bcl.Build.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Microsoft.Bcl.Build.1.0.21\build\Microsoft.Bcl.Build.targets'))" />
217-
</Target>
218206
</Project>

samples/Exceptionless.SampleNancy/Exceptionless.SampleNancy.csproj

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
<SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">$(MSBuildProjectDirectory)\..\..\</SolutionDir>
2424
<RestorePackages>true</RestorePackages>
2525
<UseGlobalApplicationHostFile />
26+
<Use64BitIISExpress />
2627
</PropertyGroup>
2728
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
2829
<DebugSymbols>true</DebugSymbols>
@@ -42,9 +43,8 @@
4243
<WarningLevel>4</WarningLevel>
4344
</PropertyGroup>
4445
<ItemGroup>
45-
<Reference Include="Nancy, Version=1.4.2.0, Culture=neutral, processorArchitecture=MSIL">
46-
<HintPath>..\..\packages\Nancy.1.4.3\lib\net40\Nancy.dll</HintPath>
47-
<Private>True</Private>
46+
<Reference Include="Nancy, Version=1.4.4.0, Culture=neutral, processorArchitecture=MSIL">
47+
<HintPath>..\..\packages\Nancy.1.4.4\lib\net40\Nancy.dll</HintPath>
4848
</Reference>
4949
<Reference Include="Nancy.Hosting.Aspnet, Version=1.4.1.0, Culture=neutral, processorArchitecture=MSIL">
5050
<HintPath>..\..\packages\Nancy.Hosting.Aspnet.1.4.1\lib\net40\Nancy.Hosting.Aspnet.dll</HintPath>
@@ -73,13 +73,8 @@
7373
<ItemGroup>
7474
<Folder Include="Properties\" />
7575
</ItemGroup>
76-
<PropertyGroup>
77-
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">10.0</VisualStudioVersion>
78-
<VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath>
79-
</PropertyGroup>
8076
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
81-
<Import Project="$(VSToolsPath)\WebApplications\Microsoft.WebApplication.targets" Condition="'$(VSToolsPath)' != ''" />
82-
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v10.0\WebApplications\Microsoft.WebApplication.targets" Condition="false" />
77+
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v15.0\WebApplications\Microsoft.WebApplication.targets" Condition="false" />
8378
<ProjectExtensions>
8479
<VisualStudio>
8580
<FlavorProperties GUID="{349c5851-65df-11da-9384-00065b846f21}">
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<packages>
3-
<package id="Nancy" version="1.4.3" targetFramework="net45" />
3+
<package id="Nancy" version="1.4.4" targetFramework="net45" />
44
<package id="Nancy.Hosting.Aspnet" version="1.4.1" targetFramework="net45" />
55
</packages>

samples/Exceptionless.SampleWcf/Exceptionless.SampleWcf.csproj

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -90,13 +90,8 @@
9090
<ItemGroup>
9191
<Folder Include="Properties\" />
9292
</ItemGroup>
93-
<PropertyGroup>
94-
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">10.0</VisualStudioVersion>
95-
<VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath>
96-
</PropertyGroup>
9793
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
98-
<Import Project="$(VSToolsPath)\WebApplications\Microsoft.WebApplication.targets" Condition="'$(VSToolsPath)' != ''" />
99-
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v10.0\WebApplications\Microsoft.WebApplication.targets" Condition="false" />
94+
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v15.0\WebApplications\Microsoft.WebApplication.targets" Condition="false" />
10095
<ProjectExtensions>
10196
<VisualStudio>
10297
<FlavorProperties GUID="{349c5851-65df-11da-9384-00065b846f21}">

samples/Exceptionless.SampleWeb/Exceptionless.SampleWeb.csproj

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -124,13 +124,8 @@
124124
<ItemGroup>
125125
<Folder Include="Properties\" />
126126
</ItemGroup>
127-
<PropertyGroup>
128-
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">10.0</VisualStudioVersion>
129-
<VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath>
130-
</PropertyGroup>
131127
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
132-
<Import Project="$(VSToolsPath)\WebApplications\Microsoft.WebApplication.targets" Condition="'$(VSToolsPath)' != ''" />
133-
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v10.0\WebApplications\Microsoft.WebApplication.targets" Condition="false" />
128+
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v15.0\WebApplications\Microsoft.WebApplication.targets" Condition="false" />
134129
<ProjectExtensions>
135130
<VisualStudio>
136131
<FlavorProperties GUID="{349c5851-65df-11da-9384-00065b846f21}">

src/Exceptionless.Signed/Exceptionless.Signed.csproj

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
<AssemblyTitle>Exceptionless client for non visual (ie. Console and Services) applications.</AssemblyTitle>
88
<Description>Exceptionless client for portable applications. $(Description)</Description>
99
<PackageTags>Exceptionless;Error;Report;Reporting;Exception;Logging;Log;ELMAH;pcl;NETSTANDARD;Core</PackageTags>
10-
<TargetFrameworks>netstandard1.2;netstandard1.3;netstandard1.4;netstandard1.5;portable46-net451+win81+wpa81;net45</TargetFrameworks>
11-
</PropertyGroup>
10+
<TargetFrameworks>netstandard1.2;netstandard1.3;netstandard1.4;netstandard1.5;netstandard2.0;portable46-net451+win81+wpa81;net45</TargetFrameworks>
11+
</PropertyGroup>
1212

1313
<ItemGroup Label="Package">
1414
<None Include="NuGet\tools\*">
@@ -116,6 +116,15 @@
116116
<PackageReference Include="System.Xml.XmlSerializer" Version="4.3.0" />
117117
</ItemGroup>
118118

119+
<PropertyGroup Condition="'$(TargetFramework)' == 'netstandard2.0'" Label="Build">
120+
<DefineConstants>$(DefineConstants);NO_SQL_CLIENT;NETSTANDARD;NETSTANDARD2_0;SIGNED</DefineConstants>
121+
</PropertyGroup>
122+
123+
<ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.0'" Label="Package References">
124+
<PackageReference Include="Microsoft.Extensions.PlatformAbstractions" Version="1.1.0" />
125+
<PackageReference Include="System.Reflection.Emit.Lightweight" Version="4.3.0" />
126+
</ItemGroup>
127+
119128
<PropertyGroup Condition="'$(TargetFramework)' == 'portable46-net451+win81+wpa81'" Label="Build">
120129
<TargetFrameworkIdentifier>.NETPortable</TargetFrameworkIdentifier>
121130
<TargetFrameworkVersion>v4.6</TargetFrameworkVersion>

src/Platforms/Exceptionless.AspNetCore.Signed/Exceptionless.AspNetCore.Signed.csproj

Lines changed: 12 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<AssemblyTitle>Exceptionless client for ASP.NET Core</AssemblyTitle>
88
<Description>Exceptionless client for ASP.NET Core. $(Description)</Description>
99
<PackageTags>ASP.NET;Exceptionless;Error;Report;Reporting;Exception;Logging;Log;ELMAH</PackageTags>
10-
<TargetFrameworks>netstandard1.5;net451</TargetFrameworks>
10+
<TargetFrameworks>netcoreapp2.0</TargetFrameworks>
1111
</PropertyGroup>
1212

1313
<ItemGroup Label="Package">
@@ -33,32 +33,19 @@
3333
</ItemGroup>
3434

3535
<ItemGroup Label="Package References">
36-
<PackageReference Include="Microsoft.AspNetCore.Hosting.Abstractions" Version="1.1.1" />
37-
<PackageReference Include="Microsoft.AspNetCore.Http" Version="1.1.1" />
38-
<PackageReference Include="Microsoft.AspNetCore.Http.Abstractions" Version="1.1.1" />
39-
<PackageReference Include="Microsoft.AspNetCore.Http.Extensions" Version="1.1.1" />
40-
<PackageReference Include="Microsoft.Extensions.Configuration.Abstractions" Version="1.1.1" />
41-
<PackageReference Include="Microsoft.Extensions.DiagnosticAdapter" Version="1.1.0" />
42-
<PackageReference Include="Microsoft.Net.Http.Headers" Version="1.1.1" />
43-
<PackageReference Include="System.Diagnostics.DiagnosticSource" Version="4.3.0" />
44-
<PackageReference Include="System.Net.Http" Version="4.3.1" />
45-
</ItemGroup>
46-
47-
<PropertyGroup Condition=" '$(TargetFramework)' == 'netstandard1.5' " Label="Build">
48-
<DefineConstants>$(DefineConstants);NETSTANDARD1_5;SIGNED;</DefineConstants>
49-
</PropertyGroup>
50-
51-
<ItemGroup Condition=" '$(TargetFramework)' == 'netstandard1.5' " Label="Package References">
36+
<PackageReference Include="Microsoft.AspNetCore.Hosting.Abstractions" Version="2.0.0" />
37+
<PackageReference Include="Microsoft.AspNetCore.Http" Version="2.0.0" />
38+
<PackageReference Include="Microsoft.AspNetCore.Http.Abstractions" Version="2.0.0" />
39+
<PackageReference Include="Microsoft.AspNetCore.Http.Extensions" Version="2.0.0" />
40+
<PackageReference Include="Microsoft.Extensions.Configuration.Abstractions" Version="2.0.0" />
41+
<PackageReference Include="Microsoft.Extensions.DiagnosticAdapter" Version="2.0.0" />
42+
<PackageReference Include="Microsoft.Net.Http.Headers" Version="2.0.0" />
43+
<PackageReference Include="System.Diagnostics.DiagnosticSource" Version="4.4.1" />
44+
<PackageReference Include="System.Net.Http" Version="4.3.2" />
5245
<PackageReference Include="System.Net.Primitives" Version="4.3.0" />
5346
</ItemGroup>
5447

55-
<PropertyGroup Condition=" '$(TargetFramework)' == 'net451' " Label="Build">
56-
<DefineConstants>$(DefineConstants);NET45;SIGNED;</DefineConstants>
48+
<PropertyGroup Condition=" '$(TargetFramework)' == 'netcoreapp2.0' " Label="Build">
49+
<DefineConstants>$(DefineConstants);NETSTANDARD2_0</DefineConstants>
5750
</PropertyGroup>
58-
59-
<ItemGroup Condition=" '$(TargetFramework)' == 'net451' " Label="Framework References">
60-
<Reference Include="System.Net.Primitives" />
61-
<Reference Include="System" />
62-
<Reference Include="Microsoft.CSharp" />
63-
</ItemGroup>
6451
</Project>

src/Platforms/Exceptionless.AspNetCore/Exceptionless.AspNetCore.csproj

Lines changed: 12 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<AssemblyTitle>Exceptionless client for ASP.NET Core</AssemblyTitle>
88
<Description>Exceptionless client for ASP.NET Core. $(Description)</Description>
99
<PackageTags>ASP.NET;Exceptionless;Error;Report;Reporting;Exception;Logging;Log;ELMAH</PackageTags>
10-
<TargetFrameworks>netstandard1.5;netstandard2.0;net451</TargetFrameworks>
10+
<TargetFrameworks>netcoreapp2.0</TargetFrameworks>
1111
</PropertyGroup>
1212

1313
<ItemGroup Label="Package">
@@ -20,46 +20,25 @@
2020
<ItemGroup Label="Build">
2121
<Compile Include="..\..\GlobalAssemblyInfo.cs" Link="Properties\GlobalAssemblyInfo.cs" />
2222
</ItemGroup>
23-
23+
2424
<ItemGroup Label="Project References">
2525
<ProjectReference Include="..\..\Exceptionless\Exceptionless.csproj" />
2626
</ItemGroup>
2727

2828
<ItemGroup Label="Package References">
29-
<PackageReference Include="Microsoft.AspNetCore.Hosting.Abstractions" Version="1.1.2" />
30-
<PackageReference Include="Microsoft.AspNetCore.Http" Version="1.1.2" />
31-
<PackageReference Include="Microsoft.AspNetCore.Http.Abstractions" Version="1.1.2" />
32-
<PackageReference Include="Microsoft.AspNetCore.Http.Extensions" Version="1.1.2" />
33-
<PackageReference Include="Microsoft.Extensions.Configuration.Abstractions" Version="1.1.2" />
34-
<PackageReference Include="Microsoft.Extensions.DiagnosticAdapter" Version="1.1.1" />
35-
<PackageReference Include="Microsoft.Net.Http.Headers" Version="1.1.2" />
36-
<PackageReference Include="System.Diagnostics.DiagnosticSource" Version="4.4.0" />
29+
<PackageReference Include="Microsoft.AspNetCore.Hosting.Abstractions" Version="2.0.0" />
30+
<PackageReference Include="Microsoft.AspNetCore.Http" Version="2.0.0" />
31+
<PackageReference Include="Microsoft.AspNetCore.Http.Abstractions" Version="2.0.0" />
32+
<PackageReference Include="Microsoft.AspNetCore.Http.Extensions" Version="2.0.0" />
33+
<PackageReference Include="Microsoft.Extensions.Configuration.Abstractions" Version="2.0.0" />
34+
<PackageReference Include="Microsoft.Extensions.DiagnosticAdapter" Version="2.0.0" />
35+
<PackageReference Include="Microsoft.Net.Http.Headers" Version="2.0.0" />
36+
<PackageReference Include="System.Diagnostics.DiagnosticSource" Version="4.4.1" />
3737
<PackageReference Include="System.Net.Http" Version="4.3.2" />
38-
</ItemGroup>
39-
40-
<PropertyGroup Condition=" '$(TargetFramework)' == 'netstandard1.5' " Label="Build">
41-
<DefineConstants>$(DefineConstants);NETSTANDARD1_5</DefineConstants>
42-
</PropertyGroup>
43-
44-
<ItemGroup Condition=" '$(TargetFramework)' == 'netstandard1.5' " Label="Package References">
4538
<PackageReference Include="System.Net.Primitives" Version="4.3.0" />
4639
</ItemGroup>
4740

48-
<PropertyGroup Condition=" '$(TargetFramework)' == 'netstandard2.0' " Label="Build">
49-
<DefineConstants>$(DefineConstants);NETSTANDARD2_0</DefineConstants>
41+
<PropertyGroup Condition=" '$(TargetFramework)' == 'netcoreapp2.0' " Label="Build">
42+
<DefineConstants>$(DefineConstants);NETSTANDARD2_0;SIGNED</DefineConstants>
5043
</PropertyGroup>
51-
52-
<ItemGroup Condition=" '$(TargetFramework)' == 'netstandard2.0' " Label="Package References">
53-
<PackageReference Include="System.Net.Primitives" Version="4.3.0" />
54-
</ItemGroup>
55-
56-
<PropertyGroup Condition=" '$(TargetFramework)' == 'net451' " Label="Build">
57-
<DefineConstants>$(DefineConstants);NET45</DefineConstants>
58-
</PropertyGroup>
59-
60-
<ItemGroup Condition=" '$(TargetFramework)' == 'net451' " Label="Framework References">
61-
<Reference Include="System.Net.Primitives" />
62-
<Reference Include="System" />
63-
<Reference Include="Microsoft.CSharp" />
64-
</ItemGroup>
6544
</Project>

0 commit comments

Comments
 (0)