forked from Remora/Remora.Sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDirectory.Build.targets
More file actions
25 lines (22 loc) · 886 Bytes
/
Directory.Build.targets
File metadata and controls
25 lines (22 loc) · 886 Bytes
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
<Project>
<ItemGroup Condition="$(IsPackable)">
<None Include="Sdk\**" Pack="true" PackagePath="Sdk" />
</ItemGroup>
<!-- NuGet README -->
<ItemGroup Condition="$(IsPackable)">
<None Include="$(MSBuildProjectDirectory)/README.md" Pack="true" PackagePath="/">
<Link>README.md</Link>
</None>
</ItemGroup>
<!-- NuGet Icon -->
<PropertyGroup Condition="$(IsPackable) And Exists('$(PackageIconPath)')">
<IconName>$([System.IO.Path]::GetFileName('$(PackageIconPath)'))</IconName>
<PackageIcon>$(IconName)</PackageIcon>
</PropertyGroup>
<ItemGroup Condition="$(IsPackable) And Exists('$(PackageIconPath)')">
<None Include="$(PackageIconPath)" Pack="true" PackagePath="/">
<Link>$(IconName)</Link>
<InProject>false</InProject>
</None>
</ItemGroup>
</Project>