-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathDirectory.Build.targets
More file actions
16 lines (14 loc) · 895 Bytes
/
Copy pathDirectory.Build.targets
File metadata and controls
16 lines (14 loc) · 895 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<Project>
<PropertyGroup Condition="'$(IsPackable)' == 'true'">
<GeneratePackageOnBuild Condition="'$(GeneratePackageOnBuild)' == ''">true</GeneratePackageOnBuild>
</PropertyGroup>
<ItemGroup Condition="'$(IsPackable)' == 'true' and '$(PackageReadmeFile)' == 'README.md'">
<None Include="$(MSBuildThisFileDirectory)README.md" Pack="true" PackagePath="" Link="README.md"
Visible="false" />
<None Include="$(MSBuildThisFileDirectory)UpdateLog.md" Pack="true" PackagePath="" Link="UpdateLog.md"
Visible="false" Condition="Exists('$(MSBuildThisFileDirectory)UpdateLog.md')" />
</ItemGroup>
<ItemGroup Condition="'$(IsPackable)' == 'true' and '$(PackageIcon)' == 'logo.png'">
<None Include="$(MSBuildThisFileDirectory)logo.png" Pack="true" PackagePath="" Link="logo.png" Visible="false" />
</ItemGroup>
</Project>