-
Notifications
You must be signed in to change notification settings - Fork 6
/
Directory.Build.props
103 lines (95 loc) · 3.32 KB
/
Directory.Build.props
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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
<?xml version="1.0" encoding="utf-8"?>
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Condition=" Exists('Directory.Build.props.user') " Project="Directory.Build.props.user"/>
<PropertyGroup>
<TargetFramework>net48</TargetFramework>
<OutputType>Library</OutputType>
<LangVersion>latest</LangVersion>
</PropertyGroup>
<PropertyGroup>
<BuildType>Release</BuildType>
<LibFolder>../../lib/</LibFolder>
<OutputPath>bin/</OutputPath>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="ILRepack.MSBuild.Task" Version="2.0.13" />
</ItemGroup>
<PropertyGroup Condition="'$(BuildType)' == 'Release'">
<DefineConstants>TRACE</DefineConstants>
<Optimize>true</Optimize>
<DebugType>none</DebugType>
</PropertyGroup>
<ItemGroup>
<Reference Include="System"/>
<Reference Include="System.Core"/>
<Reference Include="Newtonsoft.Json">
<HintPath>$(LibFolder)/Newtonsoft.Json.dll</HintPath>
<Private>false</Private>
</Reference>
<Reference Include="0Harmony">
<HintPath>$(LibFolder)/0Harmony.dll</HintPath>
<Private>false</Private>
</Reference>
<Reference Include="Assembly-CSharp">
<HintPath>$(LibFolder)/Assembly-CSharp.dll</HintPath>
<Private>false</Private>
</Reference>
<Reference Include="Assembly-CSharp-firstpass">
<HintPath>$(LibFolder)/Assembly-CSharp-firstpass.dll</HintPath>
<Private>false</Private>
</Reference>
<Reference Include="UnityEngine">
<HintPath>$(LibFolder)/UnityEngine.dll</HintPath>
<Private>false</Private>
</Reference>
<Reference Include="UnityEngine.CoreModule">
<HintPath>$(LibFolder)/UnityEngine.CoreModule.dll</HintPath>
<Private>false</Private>
</Reference>
<Reference Include="UnityEngine.UI">
<HintPath>$(LibFolder)/UnityEngine.UI.dll</HintPath>
<Private>false</Private>
</Reference>
<Reference Include="UnityEngine.UIModule">
<HintPath>$(LibFolder)/UnityEngine.UIModule.dll</HintPath>
<Private>false</Private>
</Reference>
<Reference Include="Unity.TextMeshPro">
<HintPath>$(LibFolder)/Unity.TextMeshPro.dll</HintPath>
<Private>false</Private>
</Reference>
<Reference Include="UnityEngine.ImageConversionModule">
<HintPath>$(LibFolder)/UnityEngine.ImageConversionModule.dll</HintPath>
<Private>false</Private>
</Reference>
</ItemGroup>
<ItemGroup Condition="$(AssemblyName) != 'SquareLib'">
<Content Include="mod_info.yaml">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
</ItemGroup>
<ItemGroup Condition="$(AssemblyName) != 'SquareLib'">
<Content Include="mod.yaml">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
</ItemGroup>
<ItemGroup Condition="$(UseCaiLib) == 'true'">
<Reference Include="CaiLib">
<HintPath>$(LibFolder)/CaiLib.dll</HintPath>
</Reference>
</ItemGroup>
<ItemGroup Condition="$(UseSquareLib) == 'true'">
<ProjectReference Include="..\SquareLib\SquareLib.csproj">
<OutputItemType>Content</OutputItemType>
<Private>true</Private>
</ProjectReference>
</ItemGroup>
<ItemGroup Condition="$(UseSquareLib) == 'true'">
<PackageReference Include="Costura.Fody" Version="5.8.0-alpha0098">
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="Fody" Version="6.6.4">
<PrivateAssets>all</PrivateAssets>
</PackageReference>
</ItemGroup>
</Project>