-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathHKTimer.csproj
47 lines (47 loc) · 2.82 KB
/
HKTimer.csproj
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<ProjectGuid>{E3E4D0B7-656C-6C50-7567-696E2E57696E}</ProjectGuid>
<TargetFramework>net35</TargetFramework>
<AssemblyTitle>HKTimer</AssemblyTitle>
<AssemblyVersion>0.0.8</AssemblyVersion>
<Product>HKTimer</Product>
<DebugType>portable</DebugType>
<Copyright>Copyright © 2021</Copyright>
<OutputPath>bin\$(Configuration)\</OutputPath>
<LangVersion>latest</LangVersion>
<HollowKnightRefs>../../references/1221-modded/</HollowKnightRefs>
</PropertyGroup>
<ItemGroup>
<Reference Include="Assembly-CSharp">
<HintPath>$(HollowKnightRefs)/Assembly-CSharp.dll</HintPath>
</Reference>
<Reference Include="UnityEngine, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null">
<HintPath>$(HollowKnightRefs)/UnityEngine.dll</HintPath>
</Reference>
<Reference Include="UnityEngine.UI, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null">
<HintPath>$(HollowKnightRefs)/UnityEngine.UI.dll</HintPath>
</Reference>
<Reference Include="PlayMaker, Version=1.6.0.0, Culture=neutral, PublicKeyToken=null">
<HintPath>$(HollowKnightRefs)/PlayMaker.dll</HintPath>
</Reference>
<Reference Include="System.Core" />
<Reference Include="Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=null">
<HintPath>..\JsonNet\Newtonsoft.Json.dll</HintPath>
</Reference>
</ItemGroup>
<Target Name="CopyMod" AfterTargets="PostBuildEvent">
<Copy SourceFiles="$(TargetPath)" DestinationFolder="$(HollowKnightRefs)/Mods/" SkipUnchangedFiles="false" />
<Copy SourceFiles="$(SolutionDir)/JsonNet/Newtonsoft.Json.dll" DestinationFolder="$(HollowKnightRefs)/Mods/" SkipUnchangedFiles="false" />
<Copy SourceFiles="$(SolutionDir)/JsonNet/System.Runtime.Serialization.dll" DestinationFolder="$(HollowKnightRefs)/Mods/" SkipUnchangedFiles="false" />
</Target>
<Target Name="CreateReleaseZip" AfterTargets="PostBuildEvent" Condition="'$(Configuration)' == 'Release'">
<MakeDir Directories="$(ProjectDir)Output" />
<Delete Files="$(ProjectDir)/HKTimer.zip" />
<Copy SourceFiles="$(TargetPath)" DestinationFolder="$(ProjectDir)/Output/" />
<Copy SourceFiles="$(SolutionDir)/JsonNet/Newtonsoft.Json.dll" DestinationFolder="$(ProjectDir)/Output/" />
<Copy SourceFiles="$(SolutionDir)/JsonNet/System.Runtime.Serialization.dll" DestinationFolder="$(ProjectDir)/Output/" />
<Copy SourceFiles="$(SolutionDir)/README.md" DestinationFolder="$(ProjectDir)/Output/" />
<ZipDirectory DestinationFile="$(ProjectDir)/HKTimer.zip" SourceDirectory="$(ProjectDir)/Output" />
<RemoveDir Directories="$(ProjectDir)Output" />
</Target>
</Project>