Repository navigation
Expand file tree
/
Copy pathDirectory.Build.props
More file actions
39 lines (34 loc) · 1.82 KB
/
Copy pathDirectory.Build.props
File metadata and controls
39 lines (34 loc) · 1.82 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<Project>
<!--
THE ONE PLACE THE MS-DIAL 5 MAIN VERSION IS WRITTEN.
The rest of a build's identity is derived, not typed: the date comes from the build below, and
the commit id is already compiled in by SourceLink, which the .NET SDK enables for every
SDK-style project in this tree. See CompMs.Common.MsdialBuildIdentity.
Raising the main version is a deliberate act and this is the line to change. Everything that
used to be a hand-maintained "5.5.241113" string in a .resx becomes MainVersion plus the date
of the build that produced the binary.
-->
<PropertyGroup>
<MsdialMainVersion>5.5</MsdialMainVersion>
<!--
Appended to the displayed version. Empty for a public build, so IsLabPrivate is false, which
is what a repository-reanalysis run wants. A laboratory build sets it to "-dev" or "-tada" and
GlobalResources.IsLabPrivate keeps working exactly as it did when those suffixes were typed
into a .resx by hand.
It lives here rather than in a hand-edited literal so that marking a build no longer means
editing a checked-in resource and remembering to change it back.
-->
<MsdialVersionSuffix></MsdialVersionSuffix>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)' == 'Debug vendor unsupported'">
<DefineConstants>DEBUG;TRACE;VENDOR_UNSUPPORTED</DefineConstants>
<Optimize>false</Optimize>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)' == 'Release vendor unsupported'">
<DefineConstants>TRACE;VENDOR_UNSUPPORTED</DefineConstants>
<Optimize>true</Optimize>
<RestorePackagesWithLockFile>true</RestorePackagesWithLockFile>
<RestoreLockedMode>true</RestoreLockedMode>
<NuGetLockFilePath>$(MSBuildProjectDirectory)\packages.lock.ReleaseVendorUnsupported.json</NuGetLockFilePath>
</PropertyGroup>
</Project>