-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathafter.TShockRPGToolkit.sln.targets
More file actions
21 lines (16 loc) · 1.09 KB
/
after.TShockRPGToolkit.sln.targets
File metadata and controls
21 lines (16 loc) · 1.09 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<RpgToolsPropsPath>RpgTools.props</RpgToolsPropsPath>
<PackageDir>$(SolutionDir)bin\</PackageDir>
</PropertyGroup>
<Import Project="$(RpgToolsPropsPath)" Condition="Exists('$(RpgToolsPropsPath)')" />
<Import Project="packages\MSBuild.Extension.Pack.1.9.1\build\net40\MSBuild.Extension.Pack.targets" Condition="Exists('packages\MSBuild.Extension.Pack.1.9.1\build\net40\MSBuild.Extension.Pack.targets')" />
<Target Name="Package" AfterTargets="Build" Condition=" '$(Configuration)' == 'Deploy' ">
<CreateProperty Value="$(SolutionName)-v$(RpgToolsFileVersion)">
<Output TaskParameter="Value" PropertyName="PackageName" />
</CreateProperty>
<Message Text="Packaging $(PackageName)..." Importance="high" />
<MSBuild.ExtensionPack.Compression.Zip TaskAction="Create" CompressionLevel="BestCompression" CompressPath="$(RpgToolsBaseDeployPath)" RemoveRoot="$(RpgToolsBaseDeployPath)" ZipFileName="$(PackageDir)$(PackageName).zip"/>
</Target>
</Project>