|
10 | 10 | <NugetPackagesDir>$(SetupRootFolder)\..\packages</NugetPackagesDir> |
11 | 11 | </PropertyGroup> |
12 | 12 |
|
| 13 | + <ImportProject="$(MSBuildThisFileDirectory)..\build\targets\AssemblyVersions.props" /> |
| 14 | + |
13 | 15 | <PropertyGroup> |
14 | | -<!-- This number should bekept in sync with the expected shipping version of Visual Studio.--> |
15 | | - <FSharpProductVersion>15.7</FSharpProductVersion> |
| 16 | +<!-- This number shouldonlybetwo parts, e.g., '15.6'.--> |
| 17 | + <FSharpProductVersion>$(VSAssemblyVersion.Split('.')[0]).$(VSAssemblyVersion.Split('.')[1])</FSharpProductVersion> |
16 | 18 | <!-- BUILD_BUILDNUMBER is passed from Microbuild. Replace by today's date and (0) if it was a local build--> |
17 | 19 | <BUILD_BUILDNUMBERCondition="'$(BUILD_BUILDNUMBER)' == ''">$([System.DateTime]::Now.ToString(yyyyMMdd.0))</BUILD_BUILDNUMBER> |
18 | 20 | <!-- Remove .DRAFT suffix if it exists in the build number--> |
|