-
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathMelatoninAccess.csproj
More file actions
75 lines (70 loc) · 3.15 KB
/
MelatoninAccess.csproj
File metadata and controls
75 lines (70 loc) · 3.15 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>net472</TargetFramework>
<AssemblyName>MelatoninAccess</AssemblyName>
<Description>Accessibility Mod for Melatonin</Description>
<Version>1.3.0</Version>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<LangVersion>latest</LangVersion>
<MelonLoaderPath>L:\SteamLibrary\steamapps\common\Melatonin\MelonLoader</MelonLoaderPath>
<GameManagedPath>L:\SteamLibrary\steamapps\common\Melatonin\Melatonin_Data\Managed</GameManagedPath>
<ModsPath>L:\SteamLibrary\steamapps\common\Melatonin\Mods</ModsPath>
</PropertyGroup>
<ItemGroup>
<Reference Include="MelonLoader">
<HintPath>$(MelonLoaderPath)\net35\MelonLoader.dll</HintPath>
</Reference>
<Reference Include="0Harmony">
<HintPath>$(MelonLoaderPath)\net35\0Harmony.dll</HintPath>
</Reference>
<Reference Include="UnityEngine">
<HintPath>$(GameManagedPath)\UnityEngine.dll</HintPath>
</Reference>
<Reference Include="UnityEngine.CoreModule">
<HintPath>$(GameManagedPath)\UnityEngine.CoreModule.dll</HintPath>
</Reference>
<Reference Include="UnityEngine.UI">
<HintPath>$(GameManagedPath)\UnityEngine.UI.dll</HintPath>
</Reference>
<Reference Include="UnityEngine.InputLegacyModule">
<HintPath>$(GameManagedPath)\UnityEngine.InputLegacyModule.dll</HintPath>
</Reference>
<Reference Include="UnityEngine.JSONSerializeModule">
<HintPath>$(GameManagedPath)\UnityEngine.JSONSerializeModule.dll</HintPath>
</Reference>
<Reference Include="Unity.InputSystem">
<HintPath>$(GameManagedPath)\Unity.InputSystem.dll</HintPath>
</Reference>
<Reference Include="Unity.TextMeshPro">
<HintPath>$(GameManagedPath)\Unity.TextMeshPro.dll</HintPath>
</Reference>
<Reference Include="Assembly-CSharp">
<HintPath>$(GameManagedPath)\Assembly-CSharp.dll</HintPath>
</Reference>
</ItemGroup>
<ItemGroup>
<Compile Remove="decompiled\**" />
<Compile Remove="templates\**" />
</ItemGroup>
<Target Name="CopyToMods" AfterTargets="Build" Condition="Exists('$(ModsPath)')">
<Copy SourceFiles="$(TargetPath)" DestinationFolder="$(ModsPath)" SkipUnchangedFiles="true" />
</Target>
<Target Name="CopyCutsceneAdToMods" AfterTargets="Build" Condition="Exists('$(ModsPath)') and Exists('$(MSBuildProjectDirectory)\cutscene-ad')">
<ItemGroup>
<CutsceneAdFiles Include="$(MSBuildProjectDirectory)\cutscene-ad\**\*.*" />
</ItemGroup>
<Copy
SourceFiles="@(CutsceneAdFiles)"
DestinationFiles="@(CutsceneAdFiles->'$(ModsPath)\cutscene-ad\%(RecursiveDir)%(Filename)%(Extension)')"
SkipUnchangedFiles="true" />
</Target>
<Target Name="CopyLocalizationToMods" AfterTargets="Build" Condition="Exists('$(ModsPath)') and Exists('$(MSBuildProjectDirectory)\localization')">
<ItemGroup>
<LocalizationFiles Include="$(MSBuildProjectDirectory)\localization\**\*.*" />
</ItemGroup>
<Copy
SourceFiles="@(LocalizationFiles)"
DestinationFiles="@(LocalizationFiles->'$(ModsPath)\localization\%(RecursiveDir)%(Filename)%(Extension)')"
SkipUnchangedFiles="true" />
</Target>
</Project>