47 lines
1.9 KiB
XML
47 lines
1.9 KiB
XML
|
<Project Sdk="Microsoft.NET.Sdk">
|
||
|
|
||
|
<PropertyGroup>
|
||
|
<TargetFramework>net48</TargetFramework>
|
||
|
</PropertyGroup>
|
||
|
|
||
|
<Import Project="$(ProjectDir)UserProperties.xml" />
|
||
|
|
||
|
<Target Name="VerifyModReferences" BeforeTargets="Build">
|
||
|
<Error Text="You forgot to edit UserProperties.xml." Condition="$(UserPropertiesNotSetUp) == True" />
|
||
|
</Target>
|
||
|
|
||
|
<Target Name="InstallMod" AfterTargets="Build">
|
||
|
<PropertyGroup>
|
||
|
<ModCompileOutputDir Condition="'$(ModOutputDir)' == ''">$(ProjectDir)out\</ModCompileOutputDir>
|
||
|
<ModCompileOutputDir Condition="'$(ModOutputDir)' != ''">$(ModOutputDir)\</ModCompileOutputDir>
|
||
|
</PropertyGroup>
|
||
|
<MakeDir Directories="$(ModCompileOutputDir)" />
|
||
|
<Copy SourceFiles="$(TargetDir)$(TargetName).dll" DestinationFolder="$(ModCompileOutputDir)\" />
|
||
|
</Target>
|
||
|
|
||
|
<ItemGroup>
|
||
|
<Reference Include="0Harmony">
|
||
|
<HintPath>$(GameDir)\Mods\ModLoader\0Harmony.dll</HintPath>
|
||
|
</Reference>
|
||
|
<Reference Include="Assembly-CSharp">
|
||
|
<HintPath>$(GameDir)\Marble It Up_Data\Managed\Assembly-CSharp.dll</HintPath>
|
||
|
</Reference>
|
||
|
<Reference Include="Assembly-CSharp-firstpass">
|
||
|
<HintPath>$(GameDir)\Marble It Up_Data\Managed\Assembly-CSharp-firstpass.dll</HintPath>
|
||
|
</Reference>
|
||
|
<Reference Include="Unity.TextMeshPro">
|
||
|
<HintPath>$(GameDir)\Marble It Up_Data\Managed\Unity.TextMeshPro.dll</HintPath>
|
||
|
</Reference>
|
||
|
<Reference Include="UnityEngine">
|
||
|
<HintPath>$(GameDir)\Marble It Up_Data\Managed\UnityEngine.dll</HintPath>
|
||
|
</Reference>
|
||
|
<Reference Include="UnityEngine.CoreModule">
|
||
|
<HintPath>$(GameDir)\Marble It Up_Data\Managed\UnityEngine.CoreModule.dll</HintPath>
|
||
|
</Reference>
|
||
|
<Reference Include="UnityEngine.ImageConversionModule">
|
||
|
<HintPath>$(GameDir)\Marble It Up_Data\Managed\UnityEngine.ImageConversionModule.dll</HintPath>
|
||
|
</Reference>
|
||
|
</ItemGroup>
|
||
|
|
||
|
</Project>
|