-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathResoniteSlotInspectorCounter.csproj
65 lines (62 loc) · 3.07 KB
/
ResoniteSlotInspectorCounter.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
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 Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<RootNamespace>ResoniteSlotInspectorCounter</RootNamespace>
<AssemblyName>ResoniteSlotInspectorCounter</AssemblyName>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
<TargetFramework>net472</TargetFramework>
<FileAlignment>512</FileAlignment>
<LangVersion>10.0</LangVersion>
<Nullable>disable</Nullable>
<Deterministic>true</Deterministic>
<!-- Change CopyToMods to true if you'd like builds to be moved into the Mods folder automatically-->
<CopyToMods Condition="'$(CopyToMods)'==''">true</CopyToMods>
<DebugType Condition="'$(Configuration)'=='Debug'">embedded</DebugType>
</PropertyGroup>
<PropertyGroup Condition="'$(GamePath)'==''">
<!-- If you don't want to provide a GamePath in dotnet build, you can specify one here -->
<GamePath>$(MSBuildThisFileDirectory)Resonite/</GamePath>
<GamePath Condition="Exists('C:\Program Files (x86)\Steam\steamapps\common\Resonite\')">C:\Program Files (x86)\Steam\steamapps\common\Resonite\</GamePath>
<GamePath Condition="Exists('$(HOME)/.steam/steam/steamapps/common/Resonite/')">$(HOME)/.steam/steam/steamapps/common/Resonite/</GamePath>
</PropertyGroup>
<ItemGroup>
<Reference Include="ResoniteModLoader">
<HintPath>$(GamePath)Libraries\ResoniteModLoader.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="HarmonyLib">
<HintPath>$(GamePath)rml_libs\0Harmony.dll</HintPath>
<HintPath Condition="Exists('$(GamePath)Libraries\0Harmony.dll')">$(GamePath)Libraries\0Harmony.dll</HintPath>
<HintPath Condition="Exists('$(GamePath)MonkeyLoader\0Harmony.dll')">$(GamePath)MonkeyLoader\0Harmony.dll</HintPath>
<HintPath Condition="Exists('$(GamePath)0Harmony.dll')">$(GamePath)0Harmony.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="FrooxEngine">
<HintPath>$(GamePath)Resonite_Data\Managed\FrooxEngine.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="Elements.Assets">
<HintPath>$(GamePath)Resonite_Data\Managed\Elements.Assets.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="Elements.Core">
<HintPath>$(GamePath)Resonite_Data\Managed\Elements.Core.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="SkyFrost.Base">
<HintPath>$(GamePath)Resonite_Data\Managed\SkyFrost.Base.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="SkyFrost.Base.Models">
<HintPath>$(GamePath)Resonite_Data\Managed\SkyFrost.Base.Models.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="ProtoFluxBindings">
<HintPath>$(GamePath)Resonite_Data\Managed\ProtoFluxBindings.dll</HintPath>
<Private>False</Private>
</Reference>
</ItemGroup>
<Target Name="PostBuild" AfterTargets="PostBuildEvent" Condition="'$(CopyToMods)'=='true'">
<Message Text="Attempting to copy $(TargetFileName) to $(GamePath)rml_mods" Importance="high" />
<Copy SourceFiles="$(TargetDir)$(TargetFileName)" DestinationFolder="$(GamePath)rml_mods" ContinueOnError="true" />
</Target>
</Project>