-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathSelfReference.props
More file actions
22 lines (17 loc) · 910 Bytes
/
SelfReference.props
File metadata and controls
22 lines (17 loc) · 910 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<?xml version="1.0" encoding="utf-8"?>
<!--
SPDX-FileCopyrightText: 2025 Frans van Dorsselaer
SPDX-License-Identifier: MIT
-->
<Project>
<!--
Projects (unit tests, examples) within this very repository cannot reference the package which we are actually building.
Instead, they should import the .props file at the top of their project file, and the .targets file at the bottom.
This is equivalent to referencing the package, but uses the locally built assembly instead of the NuGet package.
Consider it to be a "self-reference" or "bootstrapping".
-->
<PropertyGroup>
<GitVersionOverrideAssemblyFile>$(MSBuildThisFileDirectory)GitVersion.MsBuild\bin\$(Configuration)\netstandard2.0\Dorssel.GitVersion.MsBuild.dll</GitVersionOverrideAssemblyFile>
</PropertyGroup>
<Import Project="$(MSBuildThisFileDirectory)GitVersion.MsBuild\build\Dorssel.GitVersion.MsBuild.props" />
</Project>