2023-08-13 21:03:01 +00:00
|
|
|
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
<PropertyGroup>
|
|
|
|
<AssemblyName>dumb282tweaks</AssemblyName>
|
|
|
|
<TargetFramework>net48</TargetFramework>
|
|
|
|
<LangVersion>latest</LangVersion>
|
|
|
|
<Nullable>enable</Nullable>
|
|
|
|
<WarningsAsErrors>CS8600;CS8602;CS8603</WarningsAsErrors>
|
|
|
|
</PropertyGroup>
|
|
|
|
|
|
|
|
<!-- Derail Valley -->
|
|
|
|
|
|
|
|
<!-- Unity -->
|
|
|
|
|
|
|
|
<!-- Mod Loader -->
|
|
|
|
<ItemGroup>
|
|
|
|
<PackageReference Include="UnityModManager" Version="0.27.2" />
|
|
|
|
</ItemGroup>
|
|
|
|
|
|
|
|
<!-- Null Checking -->
|
|
|
|
<ItemGroup>
|
|
|
|
<PackageReference Include="Microsoft.CSharp" Version="4.7.0" />
|
|
|
|
<PackageReference Include="Nullable" Version="1.3.1" PrivateAssets="all" />
|
|
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
|
|
<Reference Include="0Harmony">
|
|
|
|
<HintPath>G:\SteamLibrary\steamapps\common\Derail Valley\DerailValley_Data\Managed\UnityModManager\0Harmony.dll</HintPath>
|
|
|
|
</Reference>
|
|
|
|
<Reference Include="Assembly-CSharp">
|
|
|
|
<HintPath>G:\SteamLibrary\steamapps\common\Derail Valley\DerailValley_Data\Managed\Assembly-CSharp.dll</HintPath>
|
|
|
|
</Reference>
|
|
|
|
<Reference Include="Assembly-CSharp-firstpass">
|
|
|
|
<HintPath>G:\SteamLibrary\steamapps\common\Derail Valley\DerailValley_Data\Managed\Assembly-CSharp-firstpass.dll</HintPath>
|
|
|
|
</Reference>
|
2023-08-15 00:42:40 +00:00
|
|
|
<Reference Include="DV.Utils">
|
|
|
|
<HintPath>G:\SteamLibrary\steamapps\common\Derail Valley\DerailValley_Data\Managed\DV.Utils.dll</HintPath>
|
|
|
|
</Reference>
|
2023-08-13 21:03:01 +00:00
|
|
|
<Reference Include="UnityEngine">
|
|
|
|
<HintPath>G:\SteamLibrary\steamapps\common\Derail Valley\DerailValley_Data\Managed\UnityEngine.dll</HintPath>
|
|
|
|
</Reference>
|
|
|
|
<Reference Include="UnityEngine.AssetBundleModule">
|
|
|
|
<HintPath>G:\SteamLibrary\steamapps\common\Derail Valley\DerailValley_Data\Managed\UnityEngine.AssetBundleModule.dll</HintPath>
|
|
|
|
</Reference>
|
|
|
|
<Reference Include="UnityEngine.CoreModule">
|
|
|
|
<HintPath>G:\SteamLibrary\steamapps\common\Derail Valley\DerailValley_Data\Managed\UnityEngine.CoreModule.dll</HintPath>
|
|
|
|
</Reference>
|
|
|
|
<Reference Include="UnityEngine.IMGUIModule">
|
|
|
|
<HintPath>G:\SteamLibrary\steamapps\common\Derail Valley\DerailValley_Data\Managed\UnityEngine.IMGUIModule.dll</HintPath>
|
|
|
|
</Reference>
|
|
|
|
<Reference Include="UnityEngine.UI">
|
|
|
|
<HintPath>G:\SteamLibrary\steamapps\common\Derail Valley\DerailValley_Data\Managed\UnityEngine.UI.dll</HintPath>
|
|
|
|
</Reference>
|
|
|
|
<Reference Include="UnityModManager">
|
|
|
|
<HintPath>G:\SteamLibrary\steamapps\common\Derail Valley\DerailValley_Data\Managed\UnityModManager\UnityModManager.dll</HintPath>
|
|
|
|
</Reference>
|
|
|
|
</ItemGroup>
|
|
|
|
|
|
|
|
<Target Name="PostBuild" AfterTargets="PostBuildEvent">
|
|
|
|
<!-- Copy to build folder -->
|
|
|
|
<Copy SourceFiles="$(TargetPath)" DestinationFolder="../build/" />
|
|
|
|
|
|
|
|
<!-- Package after Release build -->
|
|
|
|
<Exec Condition="'$(ConfigurationName)' == 'Release' And '$(OS)' == 'Windows_NT'" Command="powershell -executionpolicy bypass -Command "(../package.ps1)"" />
|
|
|
|
<Exec Condition="'$(ConfigurationName)' == 'Release' And '$(OS)' != 'Windows_NT'" Command="pwsh -Command "(../package.ps1)"" />
|
|
|
|
</Target>
|
|
|
|
</Project>
|