-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDirectory.Build.props
More file actions
24 lines (23 loc) · 1.05 KB
/
Copy pathDirectory.Build.props
File metadata and controls
24 lines (23 loc) · 1.05 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
<Project>
<!--
QuickLook.Common (git submodule) has a PreBuildEvent that runs
"$(SolutionDir)Scripts\update-version.ps1". When a project is built directly
(e.g. `dotnet build`/`dotnet test` on a .csproj rather than the .sln),
$(SolutionDir) is undefined and the pre-build fails. Default it to this repo
root (where the .sln lives) so every build path resolves the same script.
-->
<PropertyGroup>
<SolutionDir Condition="'$(SolutionDir)' == '' Or '$(SolutionDir)' == '*Undefined*'">$(MSBuildThisFileDirectory)</SolutionDir>
</PropertyGroup>
<!--
Single source of truth for the plugin's public version. The plugin csproj
consumes this as <Version> (stamping AssemblyVersion/FileVersion/
InformationalVersion via the SDK's generated attributes), and
Scripts/pack-zip.ps1 reads it directly to stamp the same number into the
packaged QuickLook.Plugin.Metadata.config, so the DLL and the installer
metadata can never drift apart.
-->
<PropertyGroup>
<PluginVersion>1.2.0</PluginVersion>
</PropertyGroup>
</Project>