-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathSpawnManager.csproj
More file actions
75 lines (68 loc) · 3.74 KB
/
SpawnManager.csproj
File metadata and controls
75 lines (68 loc) · 3.74 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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netstandard2.1</TargetFramework>
<Nullable>enable</Nullable>
<Version>0.6.3</Version>
<GamePathDir>C:\Program Files (x86)\Steam\steamapps\common\REPO</GamePathDir>
<GameDataDir>$([System.IO.Directory]::GetDirectories("$(GamePathDir)", "*_Data")[0])</GameDataDir>
<ManagedDir>$(GameDataDir)\Managed</ManagedDir>
<BepInExDir>$(GamePathDir)\BepInEx</BepInExDir>
<ProjectDir>$(MSBuildThisFileDirectory)</ProjectDir>
</PropertyGroup>
<ItemGroup>
<Reference Include="0Harmony">
<HintPath>C:\Program Files (x86)\Steam\steamapps\common\REPO\BepInEx\core\0Harmony.dll</HintPath>
</Reference>
<Reference Include="Assembly-CSharp">
<HintPath>C:\Program Files (x86)\Steam\steamapps\common\REPO\REPO_Data\Managed\Assembly-CSharp.dll</HintPath>
</Reference>
<Reference Include="BepInEx">
<HintPath>C:\Program Files (x86)\Steam\steamapps\common\REPO\BepInEx\core\BepInEx.dll</HintPath>
</Reference>
<Reference Include="MenuLib">
<HintPath>..\Libraries\MenuLib.dll</HintPath>
</Reference>
<Reference Include="PhotonUnityNetworking">
<HintPath>C:\Program Files (x86)\Steam\steamapps\common\REPO\REPO_Data\Managed\PhotonUnityNetworking.dll</HintPath>
</Reference>
<Reference Include="PhotonVoice">
<HintPath>C:\Program Files (x86)\Steam\steamapps\common\REPO\REPO_Data\Managed\PhotonVoice.dll</HintPath>
</Reference>
<Reference Include="Unity.Postprocessing.Runtime">
<HintPath>C:\Program Files (x86)\Steam\steamapps\common\REPO\REPO_Data\Managed\Unity.Postprocessing.Runtime.dll</HintPath>
</Reference>
<Reference Include="Unity.TextMeshPro">
<HintPath>C:\Program Files (x86)\Steam\steamapps\common\REPO\REPO_Data\Managed\Unity.TextMeshPro.dll</HintPath>
</Reference>
<Reference Include="UnityEngine">
<HintPath>C:\Program Files (x86)\Steam\steamapps\common\REPO\REPO_Data\Managed\UnityEngine.dll</HintPath>
</Reference>
<Reference Include="UnityEngine.UI">
<HintPath>C:\Program Files (x86)\Steam\steamapps\common\REPO\REPO_Data\Managed\UnityEngine.UI.dll</HintPath>
</Reference>
<Reference Include="UnityEngine.CoreModule">
<HintPath>C:\Program Files (x86)\Steam\steamapps\common\REPO\REPO_Data\Managed\UnityEngine.CoreModule.dll</HintPath>
</Reference>
</ItemGroup>
<ItemGroup>
<PackageFiles Include="Package\**\*.*"/>
</ItemGroup>
<Target Name="CreateZip" AfterTargets="PostBuildEvent" Condition=" '$(Configuration)' == 'Release' ">
<MakeDir Directories="$(OutDir)ReleaseZip" Condition="!Exists('$(OutDir)ReleaseZip')"/>
<Copy SourceFiles="$(OutDir)$(AssemblyName).dll" DestinationFolder="$(OutDir)ReleaseZip"/>
<Copy SourceFiles="@(PackageFiles)" DestinationFolder="$(OutDir)ReleaseZip\"/>
<ZipDirectory
SourceDirectory="$(OutDir)ReleaseZip"
DestinationFile="$(OutDir)$(AssemblyName)-Release.zip"
Overwrite="true"/>
<RemoveDir Directories="$(OutDir)ReleaseZip"/>
</Target>
<PropertyGroup>
<ModTestDir>$(BepInExDir)\plugins\$(AssemblyName)\</ModTestDir>
</PropertyGroup>
<Target Name="CopyToBepInExPlugins" AfterTargets="Build" Condition=" '$(Configuration)' == 'Debug' ">
<Copy SourceFiles="$(OutDir)$(AssemblyName).dll" DestinationFolder="$(ModTestDir)" OverwriteReadOnlyFiles="true" />
<Copy SourceFiles="$(OutDir)$(AssemblyName).pdb" DestinationFolder="$(ModTestDir)" OverwriteReadOnlyFiles="true" />
<Message Text="Copied $(AssemblyName).dll/.pdb to $(ModTestDir)" Importance="High"/>
</Target>
</Project>