Make site extension not use SemVer 2.0 (#11565)
This commit is contained in:
parent
31a8130638
commit
33849f3381
|
|
@ -25,7 +25,12 @@
|
|||
<PackageBrandingVersion>$(VersionPrefix)</PackageBrandingVersion>
|
||||
<PackageBrandingVersion Condition=" '$(VersionSuffix)' != '' ">$(PackageBrandingVersion) $(BrandingVersionSuffix.Trim())</PackageBrandingVersion>
|
||||
|
||||
<SiteExtensionSuffix>$(VersionSuffix.Replace('.','-'))</SiteExtensionSuffix>
|
||||
<SiteExtensionPackageVersion>$(VersionPrefix)-$(SiteExtensionSuffix)</SiteExtensionPackageVersion>
|
||||
|
||||
<OriginalPackageVersion>$(Version)</OriginalPackageVersion>
|
||||
<PackageVersion Condition=" '$(PackageVersion)' == '' ">$(Version)</PackageVersion>
|
||||
<PackageVersion Condition=" '$(NoSemVer20)' == 'true' ">$(SiteExtensionPackageVersion)</PackageVersion>
|
||||
<SharedFxVersion>$(PackageVersion)</SharedFxVersion>
|
||||
|
||||
<TargetingPackVersion>$(TargetingPackVersionPrefix)</TargetingPackVersion>
|
||||
|
|
|
|||
|
|
@ -14,6 +14,7 @@
|
|||
<_ProjectPathWithVersion Include="$(MSBuildProjectFullPath)">
|
||||
<PackageId>$(PackageId)</PackageId>
|
||||
<PackageVersion>$(PackageVersion)</PackageVersion>
|
||||
<VersionSuffix>$(VersionSuffix)</VersionSuffix>
|
||||
<VersionVariableName>$(PackageId.Replace('.',''))PackageVersion</VersionVariableName>
|
||||
</_ProjectPathWithVersion>
|
||||
</ItemGroup>
|
||||
|
|
|
|||
|
|
@ -18,6 +18,7 @@
|
|||
$(RestoreSources);
|
||||
$(ArtifactsNonShippingPackagesDir)
|
||||
</RestoreSources>
|
||||
<NoSemVer20>true</NoSemVer20>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
|
|
|||
|
|
@ -10,19 +10,16 @@
|
|||
<PackageId>Microsoft.AspNetCore.AzureAppServices.SiteExtension.$(AspNetCoreMajorMinorVersion).$(TargetArchitecture)</PackageId>
|
||||
<RuntimeIdentifier>$(TargetRuntimeIdentifier)</RuntimeIdentifier>
|
||||
<HostingStartupRuntimeFrameworkVersion>$(MicrosoftNETCoreAppRuntimeVersion)</HostingStartupRuntimeFrameworkVersion>
|
||||
|
||||
<GenerateDocumentationFile>false</GenerateDocumentationFile>
|
||||
<PackageType>AzureSiteExtension</PackageType>
|
||||
<NoPackageAnalysis>true</NoPackageAnalysis>
|
||||
<IncludeBuildOutput>false</IncludeBuildOutput>
|
||||
<IncludeSymbols>false</IncludeSymbols>
|
||||
<ContentTargetFolders>content</ContentTargetFolders>
|
||||
<NoSemVer20>true</NoSemVer20>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
||||
<HostingStartupRuntimeStoreTargets Include="netcoreapp3.0" Runtime="$(TargetRuntimeIdentifier)" />
|
||||
<HostingStartupPackageReference Include="Microsoft.AspNetCore.AzureAppServices.HostingStartup" Version="$(PackageVersion)" />
|
||||
<HostingStartupPackageReference Include="Microsoft.AspNetCore.AzureAppServices.HostingStartup" Version="$(OriginalPackageVersion)" />
|
||||
|
||||
<ProjectReference Include="..\..\Framework\ref\Microsoft.AspNetCore.App.Ref.csproj">
|
||||
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
|
||||
|
|
|
|||
|
|
@ -13,6 +13,7 @@
|
|||
<NoPackageAnalysis>true</NoPackageAnalysis>
|
||||
<DotNetUnpackFolder>$(RedistSharedFrameworkLayoutRoot)</DotNetUnpackFolder>
|
||||
<IsShippingPackage>true</IsShippingPackage>
|
||||
<NoSemVer20>true</NoSemVer20>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
|
|
|||
Loading…
Reference in New Issue