miuu-sandbox/Sandbox.csproj

41 lines
1.5 KiB
XML
Raw Permalink Normal View History

2024-02-01 01:06:57 -05:00
<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="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.IMGUIModule">
<HintPath>$(GameDir)\Marble It Up_Data\Managed\UnityEngine.IMGUIModule.dll</HintPath>
</Reference>
</ItemGroup>
</Project>