diff options
Diffstat (limited to 'src/Directory.csproj.targets')
-rw-r--r-- | src/Directory.csproj.targets | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/Directory.csproj.targets b/src/Directory.csproj.targets index 51b14c06..d2e0c4c7 100644 --- a/src/Directory.csproj.targets +++ b/src/Directory.csproj.targets | |||
@@ -8,8 +8,14 @@ | |||
8 | <CreateDocumentation Condition=" '$(CreateDocumentationFile)'!='true' ">false</CreateDocumentation> | 8 | <CreateDocumentation Condition=" '$(CreateDocumentationFile)'!='true' ">false</CreateDocumentation> |
9 | <DocumentationFile Condition=" '$(CreateDocumentationFile)'=='true' ">$(OutputPath)\$(AssemblyName).xml</DocumentationFile> | 9 | <DocumentationFile Condition=" '$(CreateDocumentationFile)'=='true' ">$(OutputPath)\$(AssemblyName).xml</DocumentationFile> |
10 | <DefineConstants Condition=" '$(Configuration)'=='Debug' ">$(DefineConstants);DEBUG</DefineConstants> | 10 | <DefineConstants Condition=" '$(Configuration)'=='Debug' ">$(DefineConstants);DEBUG</DefineConstants> |
11 | |||
12 | <WixVersionThisAssemblyFile>$(RootBuildFolder)ThisAssembly.WixVer.cs</WixVersionThisAssemblyFile> | ||
11 | </PropertyGroup> | 13 | </PropertyGroup> |
12 | 14 | ||
15 | <ItemGroup Condition=" '$(IncludeThisAssembly)'=='true' "> | ||
16 | <Compile Include="$(WixVersionThisAssemblyFile)" /> | ||
17 | </ItemGroup> | ||
18 | |||
13 | <Target Name="__SetAssemblyInfoFromGit" DependsOnTargets="__SetPropertiesFromGit" BeforeTargets="GetAssemblyVersion" /> | 19 | <Target Name="__SetAssemblyInfoFromGit" DependsOnTargets="__SetPropertiesFromGit" BeforeTargets="GetAssemblyVersion" /> |
14 | 20 | ||
15 | <PropertyGroup Condition=" '$(IsWixTestProject)'=='true' "> | 21 | <PropertyGroup Condition=" '$(IsWixTestProject)'=='true' "> |
@@ -26,6 +32,5 @@ | |||
26 | 32 | ||
27 | <ItemGroup Condition=" '$(IsWixTestProject)'!='true' "> | 33 | <ItemGroup Condition=" '$(IsWixTestProject)'!='true' "> |
28 | <PackageReference Include="Microsoft.SourceLink.GitHub" PrivateAssets="All" /> | 34 | <PackageReference Include="Microsoft.SourceLink.GitHub" PrivateAssets="All" /> |
29 | <PackageReference Include="GitInfo" PrivateAssets="All" /> | ||
30 | </ItemGroup> | 35 | </ItemGroup> |
31 | </Project> | 36 | </Project> |