-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPlatform.targets
More file actions
32 lines (26 loc) · 1.24 KB
/
Platform.targets
File metadata and controls
32 lines (26 loc) · 1.24 KB
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
<Project>
<Target Name="ApplyPlatformPackageProperties"
Condition="'$(IsPlatformPackage)' == 'true'"
BeforeTargets="Build;Pack">
<PropertyGroup Label="Build">
<IsPackable>true</IsPackable>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
</PropertyGroup>
<PropertyGroup Label="NuGet info">
<Title>$(AssemblyName)</Title>
<PackageId>$(Title)</PackageId>
<Authors>itmo-is-dev</Authors>
<PackageProjectUrl>https://github.com/itmo-is-dev/platform</PackageProjectUrl>
<RepositoryUrl>https://github.com/itmo-is-dev/platform</RepositoryUrl>
<RepositoryType>github</RepositoryType>
<PackageReadmeFile>README.md</PackageReadmeFile>
<PackageLicenseFile>LICENSE</PackageLicenseFile>
<PackageIcon>icon.png</PackageIcon>
</PropertyGroup>
<ItemGroup Label="NuGet items">
<None Include="README.md" Pack="true" PackagePath="\"/>
<None Include="$(MSBuildThisFileDirectory)LICENSE" Pack="true" PackagePath="\"/>
<None Include="$(MSBuildThisFileDirectory)icon.png" Pack="true" PackagePath="\"/>
</ItemGroup>
</Target>
</Project>