forked from PrismLibrary/Prism
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDirectory.Build.props
34 lines (30 loc) · 1.27 KB
/
Directory.Build.props
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
<Project>
<Import Project="..\Directory.Build.props" />
<PropertyGroup>
<IsPackable>true</IsPackable>
<IsPackable Condition=" '$(IsCoreProject)' ">!$(DisableCorePublish)</IsPackable>
<IsPackable Condition=" '$(IsWpfProject)' ">!$(DisableWpfPublish)</IsPackable>
<IsPackable Condition=" '$(IsFormsProject)' ">!$(DisableFormsPublish)</IsPackable>
<IsPackable Condition=" '$(IsUnoProject)' ">!$(DisableUnoPublish)</IsPackable>
<ContinuousIntegrationBuild Condition="'$(BUILD_BUILDID)' != ''">true</ContinuousIntegrationBuild>
</PropertyGroup>
<PropertyGroup>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<GeneratePackageOnBuild>$(IsPackable)</GeneratePackageOnBuild>
</PropertyGroup>
<ItemGroup Condition=" $(IsPackable) ">
<PackageReference Include="Microsoft.SourceLink.GitHub"
Version="1.1.0-beta-20204-02"
PrivateAssets="All" />
<None Include="$(PrismPackageIcon)"
Visible="False"
Pack="True"
PackagePath="" />
<None Include="$(PrismLicenseFile)"
Visible="False"
Pack="True"
PackagePath="" />
<SourceRoot Include="$(NuGetPackageRoot)"
Condition="'$(NuGetPackageRoot)' != ''" />
</ItemGroup>
</Project>