-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathSharedModSettings.csproj
More file actions
70 lines (61 loc) · 2.99 KB
/
SharedModSettings.csproj
File metadata and controls
70 lines (61 loc) · 2.99 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
<Project>
<PropertyGroup>
<AppName>Resonite</AppName>
<ModLoaderShort>rml</ModLoaderShort>
<Product>$(AppName)ModSettings</Product>
<Company>badhaloninja</Company>
<Copyright>Copyright © $(Company) 2023</Copyright>
<Authors>$(Company)</Authors>
</PropertyGroup>
<PropertyGroup>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<TargetFramework>net9.0</TargetFramework>
<LangVersion>preview</LangVersion>
<FileAlignment>512</FileAlignment>
<Deterministic>true</Deterministic>
</PropertyGroup>
<PropertyGroup>
<CopyLocal>false</CopyLocal>
<CopyToMods Condition="'$(CopyToMods)'==''">true</CopyToMods>
<DebugSymbols Condition="'$(Configuration)'=='Release'">false</DebugSymbols>
<DebugType Condition="'$(Configuration)'=='Release'">None</DebugType>
</PropertyGroup>
<PropertyGroup>
<AppPath>$(MSBuildThisFileDirectory)$(AppName)</AppPath>
<AppPath Condition="Exists('E:\Programs\Steam\steamapps\common\$(AppName)')">E:\Programs\Steam\steamapps\common\$(AppName)\</AppPath>
<AppPath Condition="Exists('E:\SteamLibrary\steamapps\common\$(AppName)')">E:\SteamLibrary\steamapps\common\$(AppName)\</AppPath>
<AppPath Condition="Exists('$(HOME)/.steam/steam/steamapps/common/$(AppName)/')">$(HOME)/.steam/steam/steamapps/common/$(AppName)/</AppPath>
<AppPath Condition="Exists('C:\Program Files (x86)\Steam\steamapps\common\$(AppName)\')">C:\Program Files (x86)\Steam\steamapps\common\$(AppName)\</AppPath>
<AppData>$(AppPath)</AppData>
<!--<AppData Condition="Exists('$(AppPath)$(AppName)_Data')">$(AppPath)$(AppName)_Data\Managed\</AppData>-->
<AlternateDataPath>$(AppPath)\Alt\</AlternateDataPath>
<AlternateDataPath Condition="Exists('$(AppPath)')">$(AppPath)_altData</AlternateDataPath>
</PropertyGroup>
<ItemGroup>
<Reference Include="HarmonyLib">
<HintPath>$(AppPath)$(ModLoaderShort)_libs\0Harmony.dll</HintPath>
<HintPath Condition="Exists('$(AppPath)0Harmony.dll')">$(AppPath)0Harmony.dll</HintPath>
</Reference>
<Reference Include="Elements.Core">
<HintPath>$(AppData)Elements.Core.dll</HintPath>
</Reference>
<Reference Include="Renderite.Shared">
<HintPath>$(AppData)Renderite.Shared.dll</HintPath>
</Reference>
<Reference Include="FrooxEngine">
<HintPath>$(AppData)FrooxEngine.dll</HintPath>
</Reference>
<Reference Include="$(AppName)ModLoader">
<HintPath>$(AppPath)$(AppName)ModLoader.dll</HintPath>
<HintPath>$(AppPath)Libraries\$(AppName)ModLoader.dll</HintPath>
</Reference>
<Reference Include="System.Memory">
<HintPath>$(AppData)System.Memory.dll</HintPath>
</Reference>
</ItemGroup>
<Target Name="PostBuild" AfterTargets="PostBuildEvent" Condition="'$(CopyToMods)'=='true'">
<Copy SourceFiles="$(TargetPath)" DestinationFolder="$(AppPath)$(ModLoaderShort)_mods" />
<Message Text="Copied $(TargetFileName) to $(AppPath)$(ModLoaderShort)_mods" Importance="high" />
</Target>
</Project>