forked from skbkontur/TypeScript.ContractGenerator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Directory.Build.targets
22 lines (19 loc) · 1.14 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
<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>
<Authors>Eugene Tihonov, Pavel Vostretsov</Authors>
<PackageDescription>A tool that can generate TypeScript types from C# classes</PackageDescription>
<PackageTags>TypeScript CodeGenerator</PackageTags>
<RepositoryType>git</RepositoryType>
<RepositoryUrl>https://github.com/skbkontur/TypeScript.ContractGenerator</RepositoryUrl>
<PackageProjectUrl>$(RepositoryUrl)</PackageProjectUrl>
<PackageReleaseNotes>$(RepositoryUrl)/releases/tag/v$(MajorMinorVersion)-release</PackageReleaseNotes>
</PropertyGroup>
</Target>
</Project>