aboutsummaryrefslogtreecommitdiff
path: root/src/Directory.Build.props
blob: 883aba4271c5d40ee59c1f383c7d6723ae57dcf8 (plain)
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
40
41
42
43
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. -->

<Project>
  <PropertyGroup>
    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
    <EnableSourceLink Condition=" '$(NCrunch)' == '1' ">false</EnableSourceLink>
    <ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
    <NoWarn>$(NoWarn);MSB3026</NoWarn>

    <ProjectName Condition=" '$(ProjectName)' == '' ">$(MSBuildProjectName)</ProjectName>
    <RootBuildFolder>$([System.IO.Path]::GetFullPath($(MSBuildThisFileDirectory)..\build\))</RootBuildFolder>
    <RootPackagesFolder>$([System.IO.Path]::GetFullPath($(MSBuildThisFileDirectory)..\packages\))</RootPackagesFolder>
    <LogsFolder>$(RootBuildFolder)logs\</LogsFolder>
    <TestResultsFolder>$(LogsFolder)TestResults\</TestResultsFolder>
    <PdbsFolder>$(LogsFolder)pdbs\$(Configuration)\</PdbsFolder>
    <ArtifactsFolder>$(RootBuildFolder)artifacts\</ArtifactsFolder>
    <ToolsFolder>$(RootBuildFolder).tools</ToolsFolder>
    <PackageOutputPath>$(ArtifactsFolder)</PackageOutputPath>
    <BaseOutputPath>$(RootBuildFolder)$(SegmentName)\</BaseOutputPath>
    <BaseIntermediateOutputPath>$(BaseOutputPath)obj\$(ProjectName)\</BaseIntermediateOutputPath>
    <OutputPath>$(BaseOutputPath)$(Configuration)\</OutputPath>

    <!-- This is C++-specific but used from managed projects to pick up native build artifacts. -->
    <WixNativeSdkLibraryToolset>v143</WixNativeSdkLibraryToolset>
    <PlatformToolset Condition=" '$(ConfigurationType)' == 'StaticLibrary' ">$(WixNativeSdkLibraryToolset)</PlatformToolset>
    <PlatformToolset Condition=" '$(PlatformToolset)' == '' ">v143</PlatformToolset>

    <Authors>WiX Toolset Team</Authors>
    <Company>WiX Toolset</Company>
    <Copyright>Copyright (c) .NET Foundation and contributors. All rights reserved.</Copyright>
    <PackageLicenseExpression>MS-RL</PackageLicenseExpression>
    <Product>WiX Toolset</Product>
    <ProjectUrl>https://wixtoolset.org/</ProjectUrl>
    <PackageIcon>wix.png</PackageIcon>

    <NuGetAudit>true</NuGetAudit>
    <NuGetAuditMode>all</NuGetAuditMode>
    <NuGetAuditLevel>low</NuGetAuditLevel>
  </PropertyGroup>

  <Import Project="Directory$(MSBuildProjectExtension).props" Condition=" Exists('Directory$(MSBuildProjectExtension).props') " />
</Project>