From 7bd98f5cf911ae14e95bd83d65deebc9a68de9a5 Mon Sep 17 00:00:00 2001 From: Jass Bagga Date: Thu, 25 May 2017 17:12:10 -0700 Subject: [PATCH] Update TFM to netstandard2.0 (#53) --- build/common.props | 4 ++++ build/dependencies.props | 2 +- .../ApplicationInsightsHostingStartupSample.csproj | 8 ++++++-- .../AzureAppServicesHostingStartupSample.csproj | 8 ++++++-- .../AzureAppServicesSample/AzureAppServicesSample.csproj | 8 ++++++-- ...t.AspNetCore.ApplicationInsights.HostingStartup.csproj | 2 +- ...soft.AspNetCore.AzureAppServices.HostingStartup.csproj | 2 +- ...icrosoft.AspNetCore.AzureAppServicesIntegration.csproj | 2 +- ...etCore.ApplicationInsights.HostingStartup.Tests.csproj | 4 ++-- ...ft.AspNetCore.AzureAppServicesIntegration.Tests.csproj | 4 ++-- 10 files changed, 30 insertions(+), 14 deletions(-) diff --git a/build/common.props b/build/common.props index 647bc19fd0..01d7043261 100644 --- a/build/common.props +++ b/build/common.props @@ -11,6 +11,10 @@ true $(VersionSuffix)-$(BuildNumber) + + + + diff --git a/build/dependencies.props b/build/dependencies.props index 107f774ec0..8f29f694f1 100644 --- a/build/dependencies.props +++ b/build/dependencies.props @@ -5,7 +5,7 @@ 2.1.0-beta3 2.1.0-* 4.7.1 - $(BundledNETStandardPackageVersion) + 2.0.0-* 15.3.0-* 1.4.0 2.3.0-beta2-* diff --git a/sample/ApplicationInsightsHostingStartupSample/ApplicationInsightsHostingStartupSample.csproj b/sample/ApplicationInsightsHostingStartupSample/ApplicationInsightsHostingStartupSample.csproj index a5d7b7c8aa..bb6c2bf18a 100644 --- a/sample/ApplicationInsightsHostingStartupSample/ApplicationInsightsHostingStartupSample.csproj +++ b/sample/ApplicationInsightsHostingStartupSample/ApplicationInsightsHostingStartupSample.csproj @@ -3,9 +3,9 @@ - netcoreapp2.0 + netcoreapp2.0;net461 win7-x86;win7-x64;linux-x64;osx-x64 - $(PackageTargetFallback);portable-net40+sl5+win8+wp8+wpa81;portable-net45+win8+wp8+wpa81 + netcoreapp2.0 @@ -21,4 +21,8 @@ + + + + diff --git a/sample/AzureAppServicesHostingStartupSample/AzureAppServicesHostingStartupSample.csproj b/sample/AzureAppServicesHostingStartupSample/AzureAppServicesHostingStartupSample.csproj index 2653d7b5d1..e67d4532eb 100644 --- a/sample/AzureAppServicesHostingStartupSample/AzureAppServicesHostingStartupSample.csproj +++ b/sample/AzureAppServicesHostingStartupSample/AzureAppServicesHostingStartupSample.csproj @@ -3,8 +3,8 @@ - netcoreapp2.0 - $(PackageTargetFallback);portable-net40+sl5+win8+wp8+wpa81;portable-net45+win8+wp8+wpa81 + netcoreapp2.0;net461 + netcoreapp2.0 @@ -18,4 +18,8 @@ + + + + diff --git a/sample/AzureAppServicesSample/AzureAppServicesSample.csproj b/sample/AzureAppServicesSample/AzureAppServicesSample.csproj index 0b62f952f2..b68846a080 100644 --- a/sample/AzureAppServicesSample/AzureAppServicesSample.csproj +++ b/sample/AzureAppServicesSample/AzureAppServicesSample.csproj @@ -3,8 +3,8 @@ - netcoreapp2.0 - $(PackageTargetFallback);portable-net40+sl5+win8+wp8+wpa81;portable-net45+win8+wp8+wpa81 + netcoreapp2.0;net461 + netcoreapp2.0 @@ -18,4 +18,8 @@ + + + + diff --git a/src/Microsoft.AspNetCore.ApplicationInsights.HostingStartup/Microsoft.AspNetCore.ApplicationInsights.HostingStartup.csproj b/src/Microsoft.AspNetCore.ApplicationInsights.HostingStartup/Microsoft.AspNetCore.ApplicationInsights.HostingStartup.csproj index b6156d818e..003491c3ba 100644 --- a/src/Microsoft.AspNetCore.ApplicationInsights.HostingStartup/Microsoft.AspNetCore.ApplicationInsights.HostingStartup.csproj +++ b/src/Microsoft.AspNetCore.ApplicationInsights.HostingStartup/Microsoft.AspNetCore.ApplicationInsights.HostingStartup.csproj @@ -5,7 +5,7 @@ ASP.NET Core lightup integration with Application Insights. - netcoreapp2.0 + netstandard2.0 true Exe aspnetcore;ApplicationInsights;Analytics;Telemetry;AppInsights diff --git a/src/Microsoft.AspNetCore.AzureAppServices.HostingStartup/Microsoft.AspNetCore.AzureAppServices.HostingStartup.csproj b/src/Microsoft.AspNetCore.AzureAppServices.HostingStartup/Microsoft.AspNetCore.AzureAppServices.HostingStartup.csproj index bc89ebebfd..ea0266352f 100644 --- a/src/Microsoft.AspNetCore.AzureAppServices.HostingStartup/Microsoft.AspNetCore.AzureAppServices.HostingStartup.csproj +++ b/src/Microsoft.AspNetCore.AzureAppServices.HostingStartup/Microsoft.AspNetCore.AzureAppServices.HostingStartup.csproj @@ -5,7 +5,7 @@ ASP.NET Core lightup integration with Azure AppServices. - netcoreapp2.0 + netstandard2.0 true Exe aspnetcore;azure;appservices diff --git a/src/Microsoft.AspNetCore.AzureAppServicesIntegration/Microsoft.AspNetCore.AzureAppServicesIntegration.csproj b/src/Microsoft.AspNetCore.AzureAppServicesIntegration/Microsoft.AspNetCore.AzureAppServicesIntegration.csproj index 5bb4a0900e..bcdedbd7f8 100644 --- a/src/Microsoft.AspNetCore.AzureAppServicesIntegration/Microsoft.AspNetCore.AzureAppServicesIntegration.csproj +++ b/src/Microsoft.AspNetCore.AzureAppServicesIntegration/Microsoft.AspNetCore.AzureAppServicesIntegration.csproj @@ -4,7 +4,7 @@ ASP.NET Core integration with Azure AppServices. - netcoreapp2.0 + netstandard2.0 $(NoWarn);CS1591 true true diff --git a/test/Microsoft.AspNetCore.ApplicationInsights.HostingStartup.Tests/Microsoft.AspNetCore.ApplicationInsights.HostingStartup.Tests.csproj b/test/Microsoft.AspNetCore.ApplicationInsights.HostingStartup.Tests/Microsoft.AspNetCore.ApplicationInsights.HostingStartup.Tests.csproj index 96bef254b9..380e4e673f 100644 --- a/test/Microsoft.AspNetCore.ApplicationInsights.HostingStartup.Tests/Microsoft.AspNetCore.ApplicationInsights.HostingStartup.Tests.csproj +++ b/test/Microsoft.AspNetCore.ApplicationInsights.HostingStartup.Tests/Microsoft.AspNetCore.ApplicationInsights.HostingStartup.Tests.csproj @@ -3,8 +3,8 @@ - netcoreapp2.0 - $(PackageTargetFallback);portable-net40+sl5+win8+wp8+wpa81;portable-net45+win8+wp8+wpa81 + netcoreapp2.0;net461 + netcoreapp2.0 diff --git a/test/Microsoft.AspNetCore.AzureAppServicesIntegration.Tests/Microsoft.AspNetCore.AzureAppServicesIntegration.Tests.csproj b/test/Microsoft.AspNetCore.AzureAppServicesIntegration.Tests/Microsoft.AspNetCore.AzureAppServicesIntegration.Tests.csproj index 17d697baca..f64e16d93b 100644 --- a/test/Microsoft.AspNetCore.AzureAppServicesIntegration.Tests/Microsoft.AspNetCore.AzureAppServicesIntegration.Tests.csproj +++ b/test/Microsoft.AspNetCore.AzureAppServicesIntegration.Tests/Microsoft.AspNetCore.AzureAppServicesIntegration.Tests.csproj @@ -3,8 +3,8 @@ - netcoreapp2.0 - $(PackageTargetFallback);portable-net40+sl5+win8+wp8+wpa81;portable-net45+win8+wp8+wpa81 + netcoreapp2.0;net461 + netcoreapp2.0