提交 ebd4d501 编写于 作者: B Balaji Soundrarajan

Correct the version number and move them to the Targets

上级 f2cf0794
......@@ -5,8 +5,10 @@
<Import Project="Dependencies.props" />
<PropertyGroup>
<!-- This the assembly version of Roslyn from the .NET assembly perspective. It should only be revved during significant point releases. -->
<!-- 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 -->
......@@ -51,6 +53,7 @@
<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>
......@@ -63,6 +66,7 @@
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>
......
......@@ -13,7 +13,7 @@
<Import Project="$(NuGetPackageRoot)\MicroBuild.Core\$(MicroBuildVersion)\build\MicroBuild.Core.props" />
<PropertyGroup>
<PackagePreprocessorDefinitions>$(PackagePreprocessorDefinitions);Version=$(AssemblyVersion);OutputPath=$(OutDir);LicenseUri=http://www.microsoft.com</PackagePreprocessorDefinitions>
<PackagePreprocessorDefinitions>$(PackagePreprocessorDefinitions);Version=$(AssemblyVersion);NextVersion=$(NextAssemblyVersion);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=[15.0,16.0)
version=[$(Version),$(NextVersion))
type=Required
\ No newline at end of file
......@@ -13,7 +13,7 @@
<Import Project="$(NuGetPackageRoot)\MicroBuild.Core\$(MicroBuildVersion)\build\MicroBuild.Core.props" />
<PropertyGroup>
<PackagePreprocessorDefinitions>$(PackagePreprocessorDefinitions);Version=$(AssemblyVersion);OutputPath=$(OutDir);LicenseUri=http://www.microsoft.com</PackagePreprocessorDefinitions>
<PackagePreprocessorDefinitions>$(PackagePreprocessorDefinitions);Version=$(AssemblyVersion);NextVersion=$(NextAssemblyVersion);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=[15.0,16.0)
version=[$(Version),$(NextVersion))
type=Required
vs.dependency id=Microsoft.CodeAnalysis.VisualStudio.InteractiveWindow
version=[15.0,16.0)
version=[$(Version),$(NextVersion))
type=Required
\ No newline at end of file
......@@ -13,7 +13,7 @@
<Import Project="$(NuGetPackageRoot)\MicroBuild.Core\$(MicroBuildVersion)\build\MicroBuild.Core.props" />
<PropertyGroup>
<PackagePreprocessorDefinitions>$(PackagePreprocessorDefinitions);Version=$(AssemblyVersion);OutputPath=$(OutDir);LicenseUri=http://www.microsoft.com</PackagePreprocessorDefinitions>
<PackagePreprocessorDefinitions>$(PackagePreprocessorDefinitions);Version=$(AssemblyVersion);NextVersion=$(NextAssemblyVersion);OutputPath=$(OutDir);LicenseUri=http://www.microsoft.com</PackagePreprocessorDefinitions>
<IntermediateOutputPath>$(BaseIntermediateOutputPath)$(Configuration)\</IntermediateOutputPath>
</PropertyGroup>
......
......@@ -13,7 +13,7 @@
<Import Project="$(NuGetPackageRoot)\MicroBuild.Core\$(MicroBuildVersion)\build\MicroBuild.Core.props" />
<PropertyGroup>
<PackagePreprocessorDefinitions>$(PackagePreprocessorDefinitions);Version=$(AssemblyVersion);OutputPath=$(OutDir);LicenseUri=http://www.microsoft.com</PackagePreprocessorDefinitions>
<PackagePreprocessorDefinitions>$(PackagePreprocessorDefinitions);Version=$(AssemblyVersion);NextVersion=$(NextAssemblyVersion);OutputPath=$(OutDir);LicenseUri=http://www.microsoft.com</PackagePreprocessorDefinitions>
<IntermediateOutputPath>$(BaseIntermediateOutputPath)$(Configuration)\</IntermediateOutputPath>
</PropertyGroup>
......
......@@ -13,7 +13,7 @@
<Import Project="$(NuGetPackageRoot)\MicroBuild.Core\$(MicroBuildVersion)\build\MicroBuild.Core.props" />
<PropertyGroup>
<PackagePreprocessorDefinitions>$(PackagePreprocessorDefinitions);Version=$(AssemblyVersion);OutputPath=$(OutDir);LicenseUri=http://www.microsoft.com</PackagePreprocessorDefinitions>
<PackagePreprocessorDefinitions>$(PackagePreprocessorDefinitions);Version=$(AssemblyVersion);NextVersion=$(NextAssemblyVersion);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=[15.0,16.0)
version=[$(Version),$(NextVersion))
type=Required
vs.dependency id=Microsoft.CodeAnalysis.VisualStudio.InteractiveComponents
version=[15.0,16.0)
version=[$(Version),$(NextVersion))
type=Required
vs.dependency id=Microsoft.CodeAnalysis.VisualStudio.InteractiveWindow
version=[15.0,16.0)
version=[$(Version),$(NextVersion))
type=Required
......@@ -13,7 +13,7 @@
<Import Project="$(NuGetPackageRoot)\MicroBuild.Core\$(MicroBuildVersion)\build\MicroBuild.Core.props" />
<PropertyGroup>
<PackagePreprocessorDefinitions>$(PackagePreprocessorDefinitions);Version=$(AssemblyVersion);OutputPath=$(OutDir);LicenseUri=http://www.microsoft.com</PackagePreprocessorDefinitions>
<PackagePreprocessorDefinitions>$(PackagePreprocessorDefinitions);Version=$(AssemblyVersion);NextVersion=$(NextAssemblyVersion);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=[15.0,16.0)
version=[$(Version),$(NextVersion))
type=Required
\ No newline at end of file
......@@ -13,7 +13,7 @@
<Import Project="$(NuGetPackageRoot)\MicroBuild.Core\$(MicroBuildVersion)\build\MicroBuild.Core.props" />
<PropertyGroup>
<PackagePreprocessorDefinitions>$(PackagePreprocessorDefinitions);Version=$(AssemblyVersion);OutputPath=$(OutDir);LicenseUri=http://www.microsoft.com</PackagePreprocessorDefinitions>
<PackagePreprocessorDefinitions>$(PackagePreprocessorDefinitions);Version=$(AssemblyVersion);NextVersion=$(NextAssemblyVersion);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=[15.0,16.0)
version=[$(Version),$(NextVersion))
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.
先完成此消息的编辑!
想要评论请 注册