未验证 提交 ba9213b5 编写于 作者: B Brett V. Forsgren 提交者: GitHub

Merge pull request #4498 from brettfo/product-version

consolidate VS package version generation
......@@ -10,9 +10,11 @@
<NugetPackagesDir>$(SetupRootFolder)\..\packages</NugetPackagesDir>
</PropertyGroup>
<Import Project="$(MSBuildThisFileDirectory)..\build\targets\AssemblyVersions.props" />
<PropertyGroup>
<!-- This number should be kept in sync with the expected shipping version of Visual Studio. -->
<FSharpProductVersion>15.7</FSharpProductVersion>
<!-- This number should only be two parts, e.g., '15.6'. -->
<FSharpProductVersion>$(VSAssemblyVersion.Split('.')[0]).$(VSAssemblyVersion.Split('.')[1])</FSharpProductVersion>
<!-- BUILD_BUILDNUMBER is passed from Microbuild. Replace by today's date and (0) if it was a local build -->
<BUILD_BUILDNUMBER Condition="'$(BUILD_BUILDNUMBER)' == ''">$([System.DateTime]::Now.ToString(yyyyMMdd.0))</BUILD_BUILDNUMBER>
<!-- Remove .DRAFT suffix if it exists in the build number -->
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册