-
Notifications
You must be signed in to change notification settings - Fork 5
/
btd6epic.targets
65 lines (54 loc) · 4.38 KB
/
btd6epic.targets
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
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<!--BloonsTD6 property gets automatically set correctly when this file is generated by the Mod Helper on startup-->
<BloonsTD6>C:\Program Files\Epic Games\BloonsTD6\</BloonsTD6>
<Il2CppAssemblies>$(BloonsTD6)\MelonLoader\Il2CppAssemblies</Il2CppAssemblies>
<ManagedFolder>$(BloonsTD6)\MelonLoader\Managed</ManagedFolder>
<OutputFolder Condition="'$(OutputFolder)' == ''">Plugins</OutputFolder>
</PropertyGroup>
<!--References to MelonLoader dependencies-->
<ItemGroup>
<Reference Include="$(BloonsTD6)\MelonLoader\net6\MelonLoader.dll" Private="false"/>
<Reference Include="$(BloonsTD6)\MelonLoader\net6\0Harmony.dll" Private="false"/>
</ItemGroup>
<!--References to BTD6 dependencies-->
<ItemGroup Condition="'$(JustMelonloader)' != 'true'">
<Reference Include="$(Il2CppAssemblies)\Assembly-CSharp.dll" Private="false"/>
<Reference Include="$(Il2CppAssemblies)\Il2Cppmscorlib.dll" Private="false"/>
<Reference Include="$(Il2CppAssemblies)\Il2CppSystem.Core.dll" Private="false"/>
<Reference Include="$(Il2CppAssemblies)\Il2CppSystem.dll" Private="false"/>
<Reference Include="$(Il2CppAssemblies)\Il2CppNinjaKiwi.Common.dll" Private="false"/>
<Reference Include="$(Il2CppAssemblies)\Il2CppNinjaKiwi.LiNK.dll" Private="false"/>
<Reference Include="$(Il2CppAssemblies)\Unity.InputSystem.dll" Private="false"/>
<Reference Include="$(Il2CppAssemblies)\Unity.ResourceManager.dll" Private="false"/>
<Reference Include="$(Il2CppAssemblies)\Unity.TextMeshPro.dll" Private="false"/>
<Reference Include="$(Il2CppAssemblies)\UnityEngine.AnimationModule.dll" Private="false"/>
<Reference Include="$(Il2CppAssemblies)\UnityEngine.AssetBundleModule.dll" Private="false"/>
<Reference Include="$(Il2CppAssemblies)\UnityEngine.AudioModule.dll" Private="false"/>
<Reference Include="$(Il2CppAssemblies)\UnityEngine.CoreModule.dll" Private="false"/>
<Reference Include="$(Il2CppAssemblies)\UnityEngine.dll" Private="false"/>
<Reference Include="$(Il2CppAssemblies)\UnityEngine.InputLegacyModule.dll" Private="false"/>
<Reference Include="$(Il2CppAssemblies)\UnityEngine.ImageConversionModule.dll" Private="false"/>
<Reference Include="$(Il2CppAssemblies)\UnityEngine.JSONSerializeModule.dll" Private="false"/>
<Reference Include="$(Il2CppAssemblies)\UnityEngine.TextRenderingModule.dll" Private="false"/>
<Reference Include="$(Il2CppAssemblies)\UnityEngine.UI.dll" Private="false"/>
<Reference Include="$(Il2CppAssemblies)\UnityEngine.UIElementsModule.dll" Private="false"/>
<Reference Include="$(Il2CppAssemblies)\UnityEngine.UIModule.dll" Private="false"/>
<Reference Include="$(Il2CppAssemblies)\Il2CppNewtonsoft.Json.dll" Private="false"/>
<Reference Include="$(Il2CppAssemblies)\Unity.Addressables.dll" Private="false"/>
<Reference Include="$(Il2CppAssemblies)\UnityEngine.IMGUIModule.dll" Private="false"/>
<Reference Include="$(Il2CppAssemblies)\Il2CppUniWebView-CSharp.dll" Private="false"/>
<Reference Include="$(Il2CppAssemblies)\Il2Cppcom.playeveryware.eos.dll" Private="false"/>
<Reference Include="$(Il2CppAssemblies)\UnityEngine.Purchasing.dll" Private="false"/>
<Reference Include="$(ManagedFolder)\UnityEngine.Il2CppAssetBundleManager.dll" Private="false"/>
<Reference Include="$(ManagedFolder)\UnityEngine.Il2CppImageConversionManager.dll" Private="false"/>
<Reference Include="$(ManagedFolder)\ValueTupleBridge.dll" Private="false"/>
<Reference Include="$(ManagedFolder)\Newtonsoft.Json.dll" Private="false"/>
<Reference Include="$(BloonsTD6)\MelonLoader\net6\Il2CppInterop.Runtime.dll" Private="false"/>
</ItemGroup>
<!--Post build events to copy dll/xml to mods folder. Works even if game is currently running-->
<Target Name="MoveDllToMods" AfterTargets="Build" Condition="Exists('$(TargetDir)$(TargetName).dll')">
<Message Text="Copying $(ProjectName).dll to $(OutputFolder) Folder..." Importance="High"/>
<Copy SourceFiles="$(TargetDir)$(TargetName).dll" DestinationFiles="$(BloonsTD6)\$(OutputFolder)\$(ProjectName).dll"/>
</Target>
</Project>