From 961ed8992c2413014907a84ca13f8071686d4520 Mon Sep 17 00:00:00 2001 From: Pavel Krymets Date: Wed, 14 Feb 2018 16:30:35 -0800 Subject: [PATCH 1/5] Add SITE_EXTENSION_SDK_VERSION override (#151) --- build/repo.targets | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/build/repo.targets b/build/repo.targets index 7dfd281b16..0758b39d66 100644 --- a/build/repo.targets +++ b/build/repo.targets @@ -2,13 +2,15 @@ - <_SdkVersion>$([System.IO.Path]::GetFileName($([System.IO.Path]::GetDirectoryName('$(MSBuildExtensionsPath)')))) + True + <_SdkVersion>$(SITE_EXTENSION_SDK_VERSION) + <_SdkVersion Condition="'$(_SdkVersion)' == ''">$([System.IO.Path]::GetFileName($([System.IO.Path]::GetDirectoryName('$(MSBuildExtensionsPath)')))) $(RepositoryRoot).test-dotnet\ $(RepositoryRoot)artifacts\apps $(TestDotNetPath)extension\ $(RepositoryRoot)artifacts\build $(RepositoryRoot)\test\Microsoft.AspNetCore.AzureAppServices.FunctionalTests\ - https://dotnet.myget.org/F/aspnetcore-ci-dev/ + https://dotnet.myget.org/F/aspnetcore-release/ @@ -22,10 +24,14 @@ - - + + + + + + - + @@ -71,6 +77,10 @@ + + + + From 29920b7723b8ce20dccd851c545b0a001bedacf4 Mon Sep 17 00:00:00 2001 From: Pavel Krymets Date: Thu, 15 Feb 2018 11:45:09 -0800 Subject: [PATCH 2/5] Disable first time run experience (#153) --- build/repo.targets | 7 ++----- .../applicationHost.xdt | 2 +- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/build/repo.targets b/build/repo.targets index 0758b39d66..66de21a070 100644 --- a/build/repo.targets +++ b/build/repo.targets @@ -69,10 +69,6 @@ - - - - @@ -80,7 +76,8 @@ - + + diff --git a/extensions/Microsoft.AspNetCore.Runtime.SiteExtension/applicationHost.xdt b/extensions/Microsoft.AspNetCore.Runtime.SiteExtension/applicationHost.xdt index 463eb907ad..a1d7b34a90 100644 --- a/extensions/Microsoft.AspNetCore.Runtime.SiteExtension/applicationHost.xdt +++ b/extensions/Microsoft.AspNetCore.Runtime.SiteExtension/applicationHost.xdt @@ -8,7 +8,7 @@ - + From d35d3925c271b9ecb85ec8bd512663bde0101d46 Mon Sep 17 00:00:00 2001 From: Pavel Krymets Date: Thu, 15 Feb 2018 13:06:18 -0800 Subject: [PATCH 3/5] Remove extra Microsoft.AspNetCOre.App runtime (#154) --- build/repo.targets | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/build/repo.targets b/build/repo.targets index 66de21a070..76615ff5f6 100644 --- a/build/repo.targets +++ b/build/repo.targets @@ -53,6 +53,11 @@ Include="$([System.IO.Directory]::GetDirectories('$(SiteExtensionWorkingDirectory)shared\Microsoft.NETCore.App\'))" Exclude="$(SiteExtensionWorkingDirectory)shared\Microsoft.NETCore.App\$(MicrosoftNETCoreApp21PackageVersion)" /> + <_CleanupFiles + Condition="Exists('$(SiteExtensionWorkingDirectory)shared\Microsoft.AspNetCore.App\')" + Include="$([System.IO.Directory]::GetDirectories('$(SiteExtensionWorkingDirectory)shared\Microsoft.AspNetCore.App\'))" + Exclude="$(SiteExtensionWorkingDirectory)shared\Microsoft.AspNetCore.App\$(PackageVersion)" /> + <_CleanupFiles Include="$([System.IO.Directory]::GetDirectories('$(SiteExtensionWorkingDirectory)shared\Microsoft.AspNetCore.All\'))" Exclude="$(SiteExtensionWorkingDirectory)shared\Microsoft.AspNetCore.All\$(PackageVersion)" /> From ab472117efc6d1729e57c0ae70f1f070c1dbf125 Mon Sep 17 00:00:00 2001 From: Pavel Krymets Date: Fri, 16 Feb 2018 10:55:33 -0800 Subject: [PATCH 4/5] Update AspNetCoreRuntime package properties (#155) --- extensions/Directory.Build.props | 17 +++++++++++++++++ ...etCore.AzureAppServices.SiteExtension.csproj | 2 -- ...soft.AspNetCore.Runtime.SiteExtension.csproj | 13 +------------ 3 files changed, 18 insertions(+), 14 deletions(-) create mode 100644 extensions/Directory.Build.props diff --git a/extensions/Directory.Build.props b/extensions/Directory.Build.props new file mode 100644 index 0000000000..33da9f03c1 --- /dev/null +++ b/extensions/Directory.Build.props @@ -0,0 +1,17 @@ + + + + net461 + false + AzureSiteExtension + true + false + false + false + content + + + + + + diff --git a/extensions/Microsoft.AspNetCore.AzureAppServices.SiteExtension/Microsoft.AspNetCore.AzureAppServices.SiteExtension.csproj b/extensions/Microsoft.AspNetCore.AzureAppServices.SiteExtension/Microsoft.AspNetCore.AzureAppServices.SiteExtension.csproj index 0d2980dc00..57e70de196 100644 --- a/extensions/Microsoft.AspNetCore.AzureAppServices.SiteExtension/Microsoft.AspNetCore.AzureAppServices.SiteExtension.csproj +++ b/extensions/Microsoft.AspNetCore.AzureAppServices.SiteExtension/Microsoft.AspNetCore.AzureAppServices.SiteExtension.csproj @@ -6,8 +6,6 @@ net461 false aspnet;logging;aspnetcore;AzureSiteExtension;keyvault;configuration;dataprotection - AzureSiteExtension - false content $(MicrosoftNETCoreApp21PackageVersion) diff --git a/extensions/Microsoft.AspNetCore.Runtime.SiteExtension/Microsoft.AspNetCore.Runtime.SiteExtension.csproj b/extensions/Microsoft.AspNetCore.Runtime.SiteExtension/Microsoft.AspNetCore.Runtime.SiteExtension.csproj index e95ba73830..2e52e98955 100644 --- a/extensions/Microsoft.AspNetCore.Runtime.SiteExtension/Microsoft.AspNetCore.Runtime.SiteExtension.csproj +++ b/extensions/Microsoft.AspNetCore.Runtime.SiteExtension/Microsoft.AspNetCore.Runtime.SiteExtension.csproj @@ -2,20 +2,9 @@ ASP.NET Core Runtime Extensions - net461 - false + This site extension installs Microsoft.AspNetCore.All, Microsoft.AspNetCore.App and Microsoft.NetCore.App shared runtimes. aspnetcore;AzureSiteExtension - AzureSiteExtension - true - false - false - false - content AspNetCoreRuntime - - https://github.com/aspnet/AzureIntegration/blob/rel/2.0.0-preview1/LICENSE.txt - https://go.microsoft.com/fwlink/?LinkID=288859 - https://www.asp.net/ From c5c4ff4b9c84b6f00c4fa1b819219a5a2cc11c65 Mon Sep 17 00:00:00 2001 From: Pavel Krymets Date: Thu, 22 Feb 2018 14:14:00 -0800 Subject: [PATCH 5/5] Add SDK feed override (#157) --- build/repo.targets | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/build/repo.targets b/build/repo.targets index 76615ff5f6..0fc7d61a77 100644 --- a/build/repo.targets +++ b/build/repo.targets @@ -5,6 +5,8 @@ True <_SdkVersion>$(SITE_EXTENSION_SDK_VERSION) <_SdkVersion Condition="'$(_SdkVersion)' == ''">$([System.IO.Path]::GetFileName($([System.IO.Path]::GetDirectoryName('$(MSBuildExtensionsPath)')))) + <_SdkFeed>$(SITE_EXTENSION_SDK_FEED) + <_SdkFeed Condition="'$(_SdkFeed)' == ''">$(DefaultDotNetAssetFeed) $(RepositoryRoot).test-dotnet\ $(RepositoryRoot)artifacts\apps $(TestDotNetPath)extension\ @@ -26,7 +28,7 @@ - +