提交 26a26658 编写于 作者: B Brett V. Forsgren 提交者: GitHub

Merge pull request #12726 from brettfo/package-versions

specify packages with individual vsix versions instead of just the assembly version
......@@ -7,8 +7,6 @@
<PropertyGroup>
<!-- This is the assembly version of Roslyn from the .NET assembly perspective. It should only be revved during significant point releases. -->
<RoslynAssemblyVersionBase Condition="'$(RoslynAssemblyVersion)' == ''">2.0.0</RoslynAssemblyVersionBase>
<!-- This is the next assembly version of Roslyn from the .NET assembly perspective. -->
<NextRoslynAssemblyVersionBase Condition="'$(NextRoslynAssemblyVersion)' == ''">3.0.0</NextRoslynAssemblyVersionBase>
<!-- This is the file version of Roslyn, as placed in the PE header. It should be revved during point releases, and is also what provides the basis for our NuGet package versioning. -->
<RoslynFileVersionBase Condition="'$(RoslynFileVersionBase)' == ''">2.0.0</RoslynFileVersionBase>
<!-- This is the base of the NuGet versioning for prerelease packages -->
......@@ -53,7 +51,6 @@
<When Condition="'$(OfficialBuild)' == 'true' OR '$(SignedBuild)' == 'true' OR '$(UseShippingAssemblyVersion)' == 'true'">
<PropertyGroup>
<AssemblyVersion>$(RoslynAssemblyVersionBase).0</AssemblyVersion>
<NextAssemblyVersion>$(NextRoslynAssemblyVersionBase).0</NextAssemblyVersion>
<BuildVersion>$(RoslynFileVersionBase).$(BuildNumberFiveDigitDateStamp)</BuildVersion>
<VsixVersion>$(RoslynFileVersionBase).$(BuildNumberFiveDigitDateStamp)$(BuildNumberBuildOfTheDayPadded)</VsixVersion>
</PropertyGroup>
......@@ -66,7 +63,6 @@
this number. -->
<PropertyGroup>
<AssemblyVersion>42.42.42.42</AssemblyVersion>
<NextAssemblyVersion>42.42.42.42</NextAssemblyVersion>
<BuildVersion>42.42.42.42</BuildVersion>
<VsixVersion>42.42.42.42</VsixVersion>
</PropertyGroup>
......
<?xml version="1.0" encoding="utf-8"?>
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="..\..\..\..\build\Targets\ProducesNoOutput.Settings.targets" />
<Import Project="..\..\..\..\build\Targets\VSL.Versions.targets" />
<PropertyGroup>
<OutputArchitecture>neutral</OutputArchitecture>
......@@ -14,7 +13,7 @@
<Import Project="$(NuGetPackageRoot)\MicroBuild.Core\$(MicroBuildVersion)\build\MicroBuild.Core.props" />
<PropertyGroup>
<PackagePreprocessorDefinitions>$(PackagePreprocessorDefinitions);Version=$(AssemblyVersion);OutputPath=$(OutDir)</PackagePreprocessorDefinitions>
<PackagePreprocessorDefinitions>$(PackagePreprocessorDefinitions);Version=$(VsixVersion);OutputPath=$(OutDir)</PackagePreprocessorDefinitions>
<IntermediateOutputPath>$(BaseIntermediateOutputPath)$(Configuration)\</IntermediateOutputPath>
</PropertyGroup>
......
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="..\..\..\..\build\Targets\ProducesNoOutput.Settings.targets" />
<Import Project="..\..\..\..\build\Targets\VSL.Versions.targets" />
<PropertyGroup>
<FinalizeManifest>true</FinalizeManifest>
......
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="..\..\..\..\build\Targets\ProducesNoOutput.Settings.targets" />
<Import Project="..\..\..\..\build\Targets\VSL.Versions.targets" />
<PropertyGroup>
<FinalizeManifest>true</FinalizeManifest>
......
<?xml version="1.0" encoding="utf-8"?>
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="..\..\..\..\..\build\Targets\ProducesNoOutput.Settings.targets" />
<Import Project="..\..\..\..\..\build\Targets\VSL.Versions.targets" />
<PropertyGroup>
<OutputArchitecture>neutral</OutputArchitecture>
......@@ -13,7 +12,7 @@
<Import Project="$(NuGetPackageRoot)\MicroBuild.Core\$(MicroBuildVersion)\build\MicroBuild.Core.props" />
<PropertyGroup>
<PackagePreprocessorDefinitions>$(PackagePreprocessorDefinitions);Version=$(AssemblyVersion);NextVersion=$(NextAssemblyVersion);OutputPath=$(OutDir);LicenseUri=http://www.microsoft.com</PackagePreprocessorDefinitions>
<PackagePreprocessorDefinitions>$(PackagePreprocessorDefinitions);Version=$(VsixVersion);OutputPath=$(OutDir);LicenseUri=http://www.microsoft.com</PackagePreprocessorDefinitions>
<IntermediateOutputPath>$(BaseIntermediateOutputPath)$(Configuration)\</IntermediateOutputPath>
</PropertyGroup>
......
......@@ -17,5 +17,5 @@ vs.payloads
vs.dependencies
vs.dependency id=Microsoft.CodeAnalysis.VisualStudio.Setup
version=[$(Version),$(NextVersion))
version=$(Version)
type=Required
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="..\..\..\..\..\build\Targets\ProducesNoOutput.Settings.targets" />
<Import Project="..\..\..\..\..\build\Targets\VSL.Versions.targets" />
<PropertyGroup>
<OutputArchitecture>neutral</OutputArchitecture>
......@@ -13,7 +12,7 @@
<Import Project="$(NuGetPackageRoot)\MicroBuild.Core\$(MicroBuildVersion)\build\MicroBuild.Core.props" />
<PropertyGroup>
<PackagePreprocessorDefinitions>$(PackagePreprocessorDefinitions);Version=$(AssemblyVersion);NextVersion=$(NextAssemblyVersion);OutputPath=$(OutDir);LicenseUri=http://www.microsoft.com</PackagePreprocessorDefinitions>
<PackagePreprocessorDefinitions>$(PackagePreprocessorDefinitions);Version=$(VsixVersion);OutputPath=$(OutDir);LicenseUri=http://www.microsoft.com</PackagePreprocessorDefinitions>
<IntermediateOutputPath>$(BaseIntermediateOutputPath)$(Configuration)\</IntermediateOutputPath>
</PropertyGroup>
......
......@@ -17,8 +17,8 @@ vs.payloads
vs.dependencies
vs.dependency id=Microsoft.CodeAnalysis.VisualStudio.Setup
version=[$(Version),$(NextVersion))
version=$(Version)
type=Required
vs.dependency id=Microsoft.CodeAnalysis.VisualStudio.InteractiveWindow
version=[$(Version),$(NextVersion))
version=$(Version)
type=Required
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="..\..\..\..\..\build\Targets\ProducesNoOutput.Settings.targets" />
<Import Project="..\..\..\..\..\build\Targets\VSL.Versions.targets" />
<PropertyGroup>
<OutputArchitecture>neutral</OutputArchitecture>
......@@ -13,7 +12,7 @@
<Import Project="$(NuGetPackageRoot)\MicroBuild.Core\$(MicroBuildVersion)\build\MicroBuild.Core.props" />
<PropertyGroup>
<PackagePreprocessorDefinitions>$(PackagePreprocessorDefinitions);Version=$(AssemblyVersion);NextVersion=$(NextAssemblyVersion);OutputPath=$(OutDir);LicenseUri=http://www.microsoft.com</PackagePreprocessorDefinitions>
<PackagePreprocessorDefinitions>$(PackagePreprocessorDefinitions);Version=$(VsixVersion);OutputPath=$(OutDir);LicenseUri=http://www.microsoft.com</PackagePreprocessorDefinitions>
<IntermediateOutputPath>$(BaseIntermediateOutputPath)$(Configuration)\</IntermediateOutputPath>
</PropertyGroup>
......
<?xml version="1.0" encoding="utf-8"?>
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="..\..\..\..\..\build\Targets\ProducesNoOutput.Settings.targets" />
<Import Project="..\..\..\..\..\build\Targets\VSL.Versions.targets" />
<PropertyGroup>
<OutputArchitecture>neutral</OutputArchitecture>
......@@ -13,7 +12,7 @@
<Import Project="$(NuGetPackageRoot)\MicroBuild.Core\$(MicroBuildVersion)\build\MicroBuild.Core.props" />
<PropertyGroup>
<PackagePreprocessorDefinitions>$(PackagePreprocessorDefinitions);Version=$(AssemblyVersion);NextVersion=$(NextAssemblyVersion);OutputPath=$(OutDir);LicenseUri=http://www.microsoft.com</PackagePreprocessorDefinitions>
<PackagePreprocessorDefinitions>$(PackagePreprocessorDefinitions);Version=$(VsixVersion);OutputPath=$(OutDir);LicenseUri=http://www.microsoft.com</PackagePreprocessorDefinitions>
<IntermediateOutputPath>$(BaseIntermediateOutputPath)$(Configuration)\</IntermediateOutputPath>
</PropertyGroup>
......
<?xml version="1.0" encoding="utf-8"?>
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="..\..\..\..\..\build\Targets\ProducesNoOutput.Settings.targets" />
<Import Project="..\..\..\..\..\build\Targets\VSL.Versions.targets" />
<PropertyGroup>
<OutputArchitecture>neutral</OutputArchitecture>
......@@ -13,7 +12,7 @@
<Import Project="$(NuGetPackageRoot)\MicroBuild.Core\$(MicroBuildVersion)\build\MicroBuild.Core.props" />
<PropertyGroup>
<PackagePreprocessorDefinitions>$(PackagePreprocessorDefinitions);Version=$(AssemblyVersion);NextVersion=$(NextAssemblyVersion);OutputPath=$(OutDir);LicenseUri=http://www.microsoft.com</PackagePreprocessorDefinitions>
<PackagePreprocessorDefinitions>$(PackagePreprocessorDefinitions);Version=$(VsixVersion);OutputPath=$(OutDir);LicenseUri=http://www.microsoft.com</PackagePreprocessorDefinitions>
<IntermediateOutputPath>$(BaseIntermediateOutputPath)$(Configuration)\</IntermediateOutputPath>
</PropertyGroup>
......
......@@ -17,11 +17,11 @@ vs.payloads
vs.dependencies
vs.dependency id=Microsoft.CodeAnalysis.VisualStudio.Setup
version=[$(Version),$(NextVersion))
version=$(Version)
type=Required
vs.dependency id=Microsoft.CodeAnalysis.VisualStudio.InteractiveComponents
version=[$(Version),$(NextVersion))
version=$(Version)
type=Required
vs.dependency id=Microsoft.CodeAnalysis.VisualStudio.InteractiveWindow
version=[$(Version),$(NextVersion))
version=$(Version)
type=Required
<?xml version="1.0" encoding="utf-8"?>
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="..\..\..\..\..\build\Targets\ProducesNoOutput.Settings.targets" />
<Import Project="..\..\..\..\..\build\Targets\VSL.Versions.targets" />
<PropertyGroup>
<OutputArchitecture>neutral</OutputArchitecture>
......@@ -13,7 +12,7 @@
<Import Project="$(NuGetPackageRoot)\MicroBuild.Core\$(MicroBuildVersion)\build\MicroBuild.Core.props" />
<PropertyGroup>
<PackagePreprocessorDefinitions>$(PackagePreprocessorDefinitions);Version=$(AssemblyVersion);NextVersion=$(NextAssemblyVersion);OutputPath=$(OutDir);LicenseUri=http://www.microsoft.com</PackagePreprocessorDefinitions>
<PackagePreprocessorDefinitions>$(PackagePreprocessorDefinitions);Version=$(VsixVersion);OutputPath=$(OutDir);LicenseUri=http://www.microsoft.com</PackagePreprocessorDefinitions>
<IntermediateOutputPath>$(BaseIntermediateOutputPath)$(Configuration)\</IntermediateOutputPath>
</PropertyGroup>
......
......@@ -17,5 +17,5 @@ vs.payloads
vs.dependencies
vs.dependency id=Microsoft.CodeAnalysis.VisualStudio.Setup
version=[$(Version),$(NextVersion))
version=$(Version)
type=Required
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="..\..\..\..\..\build\Targets\ProducesNoOutput.Settings.targets" />
<Import Project="..\..\..\..\..\build\Targets\VSL.Versions.targets" />
<PropertyGroup>
<OutputArchitecture>neutral</OutputArchitecture>
......@@ -13,7 +12,7 @@
<Import Project="$(NuGetPackageRoot)\MicroBuild.Core\$(MicroBuildVersion)\build\MicroBuild.Core.props" />
<PropertyGroup>
<PackagePreprocessorDefinitions>$(PackagePreprocessorDefinitions);Version=$(AssemblyVersion);NextVersion=$(NextAssemblyVersion);OutputPath=$(OutDir);LicenseUri=http://www.microsoft.com</PackagePreprocessorDefinitions>
<PackagePreprocessorDefinitions>$(PackagePreprocessorDefinitions);Version=$(VsixVersion);OutputPath=$(OutDir);LicenseUri=http://www.microsoft.com</PackagePreprocessorDefinitions>
<IntermediateOutputPath>$(BaseIntermediateOutputPath)$(Configuration)\</IntermediateOutputPath>
</PropertyGroup>
......
......@@ -17,5 +17,5 @@ vs.payloads
vs.dependencies
vs.dependency id=Microsoft.CodeAnalysis.VisualStudio.Setup
version=[$(Version),$(NextVersion))
version=$(Version)
type=Required
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册