forked from LoafOrc/FacilityMeltdown
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathFacilityMeltdown.csproj
66 lines (60 loc) · 2.55 KB
/
FacilityMeltdown.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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
<Project Sdk="Microsoft.NET.Sdk">
<!-- Project Properties -->
<PropertyGroup>
<TargetFramework>netstandard2.1</TargetFramework>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<LangVersion>latest</LangVersion>
</PropertyGroup>
<!-- Embed Debug Symbols for Easier Debugging -->
<PropertyGroup>
<DebugSymbols>true</DebugSymbols>
<DebugType>embedded</DebugType>
</PropertyGroup>
<ItemGroup>
<None Remove="Lang\defs.json" />
<None Remove="Lang\en.json" />
<None Remove="Lang\es.json" />
<None Remove="Lang\kr.json" />
<None Remove="Lang\zh.json" />
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="Lang\defs.json" />
<EmbeddedResource Include="Lang\en.json" />
<EmbeddedResource Include="Lang\es.json" />
<EmbeddedResource Include="Lang\kr.json" />
<EmbeddedResource Include="Lang\zh.json" />
</ItemGroup>
<!-- Primary Package References - BepInEx and GameLibs -->
<ItemGroup>
<PackageReference Include="BepInEx.Analyzers" Version="1.*" PrivateAssets="all" />
<PackageReference Include="BepInEx.Core" Version="5.*" PrivateAssets="all" />
<PackageReference Include="Evaisa.LethalLib" Version="0.14.*" />
<PackageReference Include="LethalCompany.GameLibs.Steam" Version="*-*" PrivateAssets="all" />
<PackageReference Include="LethalSettings" Version="1.4.0" />
<PackageReference Include="NotAtomicBomb.TerminalApi" Version="1.5.*" />
<PackageReference Include="Sigurd.BepInEx.CSync" Version="3.1.0" />
<PackageReference Include="UnityEngine.Modules" Version="2022.3.9" IncludeAssets="compile" PrivateAssets="all" />
</ItemGroup>
<ItemGroup Condition="'$(TargetFramework.TrimEnd(`0123456789`))' == 'net'">
<PackageReference Include="Microsoft.NETFramework.ReferenceAssemblies" Version="1.0.2" PrivateAssets="all" />
</ItemGroup>
<ItemGroup>
<Reference Include="LethalConfig">
<HintPath>Dependencies\LethalConfig.dll</HintPath>
</Reference>
<Reference Include="me.loaforc.soundapi">
<HintPath>Dependencies\me.loaforc.soundapi.dll</HintPath>
</Reference>
</ItemGroup>
<Target Name="NetcodePatcher" AfterTargets="Build">
<Message Importance="high" Text="Doing Netcode Patcher stuff." />
<!--
<NetcodePatch Include="$(TargetPath)" />
-->
<Exec Command="netcode-patch "$(TargetPath)" @(ReferencePathWithRefAssemblies->'"%(Identity)"', ' ')" />
</Target>
<Target Name="PackThunderstore" AfterTargets="NetcodePatcher" Condition="'$(Configuration)' == 'Release'">
<Message Importance="high" Text="Building Thunderstore Package" />
<Exec Command="tcli build" />
</Target>
</Project>