-
Notifications
You must be signed in to change notification settings - Fork 0
/
Directory.Build.props
69 lines (57 loc) · 3.51 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
<?xml version="1.0" encoding="utf-8"?>
<Project>
<!--User Configuration-->
<Import Project="Directory.Build.props.default" />
<Import Condition=" Exists('Directory.Build.props.user') " Project="Directory.Build.props.user" />
<!--Base Settings-->
<PropertyGroup>
<TargetFramework>net471</TargetFramework>
<LangVersion>latest</LangVersion>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<supportedContent>ALL</supportedContent>
<minimumSupportedBuild>469369</minimumSupportedBuild>
</PropertyGroup>
<!--Default all references to CopyLocal False.-->
<ItemDefinitionGroup>
<Reference><Private>False</Private></Reference>
<ProjectReference><Private>False</Private></ProjectReference>
<PackageReference><Private>False</Private></PackageReference>
</ItemDefinitionGroup>
<!--Publicized References-->
<ItemGroup>
<Reference Include="Assembly-CSharp.dll" HintPath="$(GameFolder)/Assembly-CSharp.dll" />
<Reference Include="Assembly-CSharp-firstpass.dll" HintPath="$(GameFolder)/Assembly-CSharp-firstpass.dll" />
<Reference Include="Unity.TextMeshPro.dll" HintPath="$(GameFolder)/Unity.TextMeshPro.dll" />
<!--Meta References-->
<PackageReference Include="ILRepack.Lib.MSBuild.Task" Version="*" />
<PackageReference Include ="MSBuildTasks" Version="*"/>
<!--<PackageReference Include="HarmonyAnalyzers" Version="1.0.0" />-->
<!--<PackageReference Include="SuppressionAttributes" Version="1.0.0" />-->
<!--<ProjectReference Include ="../AzeLib/AzeLib.csproj" Private ="true" Condition="'$(UsesAzeLib)' != 'false'"/>-->
<PackageReference Include="PLib" Version="*" Private="true" Condition="'$(UsesPLib)' == 'true'" />
<ProjectReference Include="../Commons/Commons.csproj" Version="*" Private="true" Condition="'$(UseCommons)' == 'true'" />
<!--Game References-->
<Reference Include="0Harmony" HintPath="$(GameFolder)/0Harmony.dll" />
<Reference Include="Newtonsoft.Json" HintPath="$(GameFolder)/Newtonsoft.Json.dll" />
<Reference Include="UnityEngine" HintPath="$(GameFolder)/UnityEngine.dll" />
<Reference Include="UnityEngine.CoreModule" HintPath="$(GameFolder)/UnityEngine.CoreModule.dll" />
<Reference Include="UnityEngine.ImageConversionModule" HintPath="$(GameFolder)/UnityEngine.ImageConversionModule.dll" />
<Reference Include="UnityEngine.ImageConversionModule" HintPath="$(GameFolder)/UnityEngine.IMGUIModule.dll" />
<Reference Include="UnityEngine.InputLegacyModule" HintPath="$(GameFolder)/UnityEngine.InputLegacyModule.dll" />
<Reference Include="UnityEngine.TextRenderingModule" HintPath="$(GameFolder)/UnityEngine.TextRenderingModule.dll" />
<Reference Include="UnityEngine.UI" HintPath="$(GameFolder)/UnityEngine.UI.dll" />
<Reference Include="UnityEngine.UIModule" HintPath="$(GameFolder)/UnityEngine.UIModule.dll" />
</ItemGroup>
<!--<PropertyGroup>
<TranslationsFolder>..\..\Translations</TranslationsFolder> --><!--This must be changed in AzeLib.AzeLocalization.GeneratePOTemplates as well.--><!--
</PropertyGroup>-->
<!--Direct the output locations based on build configuration.-->
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
<InstallFolder>$(ModFolder)\$(MSBuildProjectName)</InstallFolder>
<DistributeFolder>..\..\Distribute\</DistributeFolder>
<DevFolder>$(ModFolder)\DEV_$(MSBuildProjectName)</DevFolder>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
<InstallFolder>$(ModFolder)\DEV_$(MSBuildProjectName)</InstallFolder>
</PropertyGroup>
</Project>