-
Notifications
You must be signed in to change notification settings - Fork 1
/
SaveItemTweaks.csproj
40 lines (38 loc) · 1.91 KB
/
SaveItemTweaks.csproj
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
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Library</OutputType>
<TargetFramework>net472</TargetFramework>
<LangVersion>10</LangVersion>
<AppName>Resonite</AppName>
<ModLoaderShort>rml</ModLoaderShort>
<AppPath>$(MSBuildThisFileDirectory)$(AppName)</AppPath>
<AppPath Condition="Exists('C:\Program Files (x86)\Steam\steamapps\common\$(AppName)\')">C:\Program Files (x86)\Steam\steamapps\common\$(AppName)\</AppPath>
<AppPath Condition="Exists('$(HOME)/.steam/steam/steamapps/common/$(AppName)/')">$(HOME)/.steam/steam/steamapps/common/$(AppName)/</AppPath>
<CopyLocal>false</CopyLocal>
<CopyToMods Condition="'$(CopyToMods)'==''">true</CopyToMods>
<DebugSymbols Condition="'$(Configuration)'=='Release'">false</DebugSymbols>
<DebugType Condition="'$(Configuration)'=='Release'">None</DebugType>
<Version>2.0.2</Version>
<Authors>hantabaru1014</Authors>
</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="$(AppName)ModLoader">
<HintPath>$(AppPath)$(AppName)ModLoader.dll</HintPath>
<HintPath>$(AppPath)Libraries\$(AppName)ModLoader.dll</HintPath>
</Reference>
<Reference Include="FrooxEngine">
<HintPath>$(AppPath)$(AppName)_Data\Managed\FrooxEngine.dll</HintPath>
</Reference>
<Reference Include="Elements.Core">
<HintPath>$(AppPath)$(AppName)_Data\Managed\Elements.Core.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)" Importance="high" />
</Target>
</Project>