From 7cd94410e82893dfbde7b4c7b2ba8d505bf59083 Mon Sep 17 00:00:00 2001 From: Doug Bunting <6431421+dougbu@users.noreply.github.com> Date: Sat, 14 Sep 2019 13:25:48 -0700 Subject: [PATCH] LoggingBranch package should not be shipping (#13981) * Correct site extensions build failure - mark LoggingBranch project as non-shipping * Improve site extension versioning - ensure `$(SiteExtensionPackageVersion)` doesn't end with a dash - remove assumption LoggingBranch and Microsoft.AspNetCore.AzureAppServices.HostingStartup have same version --- Directory.Build.targets | 8 +++----- src/SiteExtensions/LoggingBranch/LB.csproj | 15 ++++++++++++++- src/SiteExtensions/Sdk/SiteExtension.targets | 2 +- 3 files changed, 18 insertions(+), 7 deletions(-) diff --git a/Directory.Build.targets b/Directory.Build.targets index 52cf9d715a..c31b6f65b6 100644 --- a/Directory.Build.targets +++ b/Directory.Build.targets @@ -24,15 +24,13 @@ - - $(PreReleaseBrandingLabel) Build $(VersionSuffix) + $(PreReleaseBrandingLabel) Build $(VersionSuffix) $(VersionPrefix) $(PackageBrandingVersion) $(BrandingVersionSuffix.Trim()) - $(VersionSuffix.Replace('.','-')) - $(VersionPrefix)-$(SiteExtensionSuffix) + $(VersionPrefix) + $(VersionPrefix)-$(VersionSuffix.Replace('.','-')) - $(Version) $(Version) $(SiteExtensionPackageVersion) $(PackageVersion) diff --git a/src/SiteExtensions/LoggingBranch/LB.csproj b/src/SiteExtensions/LoggingBranch/LB.csproj index ec6512acc9..cae245955b 100644 --- a/src/SiteExtensions/LoggingBranch/LB.csproj +++ b/src/SiteExtensions/LoggingBranch/LB.csproj @@ -15,11 +15,11 @@ false false true + false - false @@ -31,4 +31,17 @@ + + + + + + + + + + + diff --git a/src/SiteExtensions/Sdk/SiteExtension.targets b/src/SiteExtensions/Sdk/SiteExtension.targets index 320ea9fb3d..b997778a89 100644 --- a/src/SiteExtensions/Sdk/SiteExtension.targets +++ b/src/SiteExtensions/Sdk/SiteExtension.targets @@ -5,7 +5,7 @@ - + <_TemplatesDirectory>$(MSBuildThisFileDirectory)..\content\