|
1 | 1 | <?xml version="1.0" encoding="utf-8"?>
|
2 | 2 | <Project ToolsVersion="15.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
3 |
| - <PropertyGroup> |
4 |
| - <IsProductPackage>true</IsProductPackage> |
5 |
| - <IsPackable>false</IsPackable> |
6 |
| - <IsTestProject>false</IsTestProject> |
7 |
| - <AddImplicitReferences>false</AddImplicitReferences> |
8 |
| - </PropertyGroup> |
9 | 3 | <PropertyGroup>
|
10 | 4 | <MinimumVisualStudioVersion>16.0</MinimumVisualStudioVersion>
|
11 | 5 | <VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath>
|
|
16 | 10 | <IntermediateOutputPath>obj\$(Configuration)\</IntermediateOutputPath>
|
17 | 11 | <!-- Other projects should not reference this assembly. It is only meaning to be used in Visual Studio. -->
|
18 | 12 | <IsProjectReferenceProvider>false</IsProjectReferenceProvider>
|
19 |
| - <IsProductPackage>true</IsProductPackage> |
| 13 | + <IsShippingPackage>true</IsShippingPackage> |
20 | 14 | <IsPackable>false</IsPackable>
|
21 | 15 | <EnableSourceLink>false</EnableSourceLink>
|
22 | 16 | <GenerateSourceLinkFile>false</GenerateSourceLinkFile>
|
|
35 | 29 | <!--
|
36 | 30 | Following VS convention of using the VS release # as a convention for the vsix version.
|
37 | 31 |
|
38 |
| - VS needs this build number to be parsable by System.Version, so it can't have any letters. |
| 32 | + VS needs this build number to be parsable by System.Version, so it can't have any letters or a - which |
| 33 | + is used by our build system. |
39 | 34 | -->
|
40 |
| - <VsixVersion>16.0.0</VsixVersion> |
41 |
| - <VsixVersion Condition="'$(BuildNumber)'!='' AND '$(BuildNumber)'!='t000'">$(VsixVersion).$(BuildNumber)</VsixVersion> |
42 |
| - <VsixVersion Condition="'$(BuildNumber)'=='' AND '$(CI)'!='true'">$(VsixVersion).999999</VsixVersion> |
43 |
| - <VsixVersion Condition="'$(BuildNumber)'=='' AND '$(CI)'=='true'">$(VsixVersion).ERROR-MISSING_BUILD_NUMBER</VsixVersion> |
| 35 | + <VsixVersionPrefix>16.0</VsixVersionPrefix> |
| 36 | + <VsixVersionSuffix Condition="'$(BuildNumberSuffix)'=='t000'">424242.424242</VsixVersionSuffix> |
| 37 | + <VsixVersionSuffix Condition="'$(VsixVersionSuffix)'==''">$(BuildNumberSuffix.Replace('-', '.'))</VsixVersionSuffix> |
| 38 | + <VsixVersion>$(VsixVersionPrefix).$(VsixVersionSuffix)</VsixVersion> |
44 | 39 | </PropertyGroup>
|
45 | 40 | <!--
|
46 | 41 | Used by the .vsixmanifest to insert the the VSIX version based on $(VsixVersion)
|
47 | 42 | -->
|
48 | 43 | <Target Name="GetBuildVersion" Outputs="$(VsixVersion)" />
|
| 44 | + |
49 | 45 | <PropertyGroup>
|
50 | 46 | <!-- Use the same experimental hive as Roslyn and Razor. This makes it easy to mix private builds. -->
|
51 | 47 | <StartAction>Program</StartAction>
|
|
0 commit comments