-
Notifications
You must be signed in to change notification settings - Fork 4
/
Directory.Build.targets
23 lines (20 loc) · 1.11 KB
/
Directory.Build.targets
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<Project>
<!-- https://github.com/dotnet/sdk/issues/1458 -->
<Target Name="_ResolveCopyLocalNuGetPackagePdbs" Condition="$(CopyLocalLockFileAssemblies) == true" AfterTargets="ResolveReferences">
<ItemGroup>
<ReferenceCopyLocalPaths Include="@(ReferenceCopyLocalPaths->'%(RootDir)%(Directory)%(Filename).pdb')" Condition="'%(ReferenceCopyLocalPaths.NuGetPackageId)' != '' and Exists('%(RootDir)%(Directory)%(Filename).pdb')" />
</ItemGroup>
</Target>
<Target Name="SetNuSpecProperties" BeforeTargets="GenerateNuspec" DependsOnTargets="GetBuildVersion">
<PropertyGroup>
<PackageId>$(AssemblyName)</PackageId>
<Authors>EDI Team</Authors>
<PackageTags>EDI API client</PackageTags>
<PackageDescription>EDI API client implementation</PackageDescription>
<RepositoryType>git</RepositoryType>
<RepositoryUrl>https://github.com/skbkontur/edi-api-client</RepositoryUrl>
<PackageProjectUrl>$(RepositoryUrl)</PackageProjectUrl>
<PackageReleaseNotes>$(RepositoryUrl)/releases/tag/v$(MajorMinorVersion)-release</PackageReleaseNotes>
</PropertyGroup>
</Target>
</Project>