-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSampleModRML.csproj
More file actions
32 lines (32 loc) · 1.22 KB
/
SampleModRML.csproj
File metadata and controls
32 lines (32 loc) · 1.22 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
<Project>
<PropertyGroup>
<BaseOutputPath>bin\RML</BaseOutputPath>
<BaseIntermediateOutputPath>obj\RML</BaseIntermediateOutputPath>
<StartAction>Program</StartAction>
<StartArguments>-Screen -LoadAssembly Libraries/ResoniteModLoader.dll</StartArguments>
<VariantSuffix>ResoniteModLoader</VariantSuffix>
</PropertyGroup>
<Import Project="./SampleMod.csproj" />
<PropertyGroup>
<PostBuildEvent Condition="$([MSBuild]::IsOSPlatform('Windows'))">
copy /Y "$(AssemblyName).dll" "$(ResonitePath)\rml_mods\$(AssemblyName).dll"
</PostBuildEvent>
<PostBuildEvent Condition="$([MSBuild]::IsOSPlatform('Linux'))">
cp -f "$(AssemblyName).dll" "$(ResonitePath)/rml_mods/$(AssemblyName).dll"
</PostBuildEvent>
</PropertyGroup>
<ItemGroup>
<Reference Include="Harmony">
<HintPath>$(ResonitePath)\rml_libs\0Harmony.dll</HintPath>
</Reference>
<Reference Include="ResoniteModLoader">
<HintPath>$(ResonitePath)\Libraries\ResoniteModLoader.dll</HintPath>
</Reference>
</ItemGroup>
<ItemGroup>
<Folder Include="Mod.RML"/>
<Folder Include="Patches.Harmony"/>
<Compile Include="Mod.RML/**/*.cs"/>
<Compile Include="Patches.Harmony/**/*.cs"/>
</ItemGroup>
</Project>