|
|
|
@ -7,10 +7,6 @@
|
|
|
|
|
<WarningsAsErrors>CS8600;CS8602;CS8603</WarningsAsErrors>
|
|
|
|
|
</PropertyGroup>
|
|
|
|
|
|
|
|
|
|
<!-- Derail Valley -->
|
|
|
|
|
|
|
|
|
|
<!-- Unity -->
|
|
|
|
|
|
|
|
|
|
<!-- Mod Loader -->
|
|
|
|
|
<ItemGroup>
|
|
|
|
|
<PackageReference Include="UnityModManager" Version="0.27.2" />
|
|
|
|
@ -22,96 +18,99 @@
|
|
|
|
|
<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>
|
|
|
|
|
<Reference Include="DV.BrakeSystem">
|
|
|
|
|
<HintPath>G:\SteamLibrary\steamapps\common\Derail Valley\DerailValley_Data\Managed\DV.BrakeSystem.dll</HintPath>
|
|
|
|
|
</Reference>
|
|
|
|
|
<Reference Include="DV.Common">
|
|
|
|
|
<HintPath>G:\SteamLibrary\steamapps\common\Derail Valley\DerailValley_Data\Managed\DV.Common.dll</HintPath>
|
|
|
|
|
</Reference>
|
|
|
|
|
<Reference Include="DV.ControllerAnchors">
|
|
|
|
|
<HintPath>G:\SteamLibrary\steamapps\common\Derail Valley\DerailValley_Data\Managed\DV.ControllerAnchors.dll</HintPath>
|
|
|
|
|
</Reference>
|
|
|
|
|
<Reference Include="DV.Highlighting">
|
|
|
|
|
<HintPath>G:\SteamLibrary\steamapps\common\Derail Valley\DerailValley_Data\Managed\DV.Highlighting.dll</HintPath>
|
|
|
|
|
</Reference>
|
|
|
|
|
<Reference Include="DV.Interaction">
|
|
|
|
|
<HintPath>G:\SteamLibrary\steamapps\common\Derail Valley\DerailValley_Data\Managed\DV.Interaction.dll</HintPath>
|
|
|
|
|
</Reference>
|
|
|
|
|
<Reference Include="DV.Inventory">
|
|
|
|
|
<HintPath>G:\SteamLibrary\steamapps\common\Derail Valley\DerailValley_Data\Managed\DV.Inventory.dll</HintPath>
|
|
|
|
|
</Reference>
|
|
|
|
|
<Reference Include="DV.Localization">
|
|
|
|
|
<HintPath>G:\SteamLibrary\steamapps\common\Derail Valley\DerailValley_Data\Managed\DV.Localization.dll</HintPath>
|
|
|
|
|
</Reference>
|
|
|
|
|
<Reference Include="DV.NAudio">
|
|
|
|
|
<HintPath>G:\SteamLibrary\steamapps\common\Derail Valley\DerailValley_Data\Managed\DV.NAudio.dll</HintPath>
|
|
|
|
|
</Reference>
|
|
|
|
|
<Reference Include="DV.PointSet">
|
|
|
|
|
<HintPath>G:\SteamLibrary\steamapps\common\Derail Valley\DerailValley_Data\Managed\DV.PointSet.dll</HintPath>
|
|
|
|
|
</Reference>
|
|
|
|
|
<Reference Include="DV.RadioPlayer">
|
|
|
|
|
<HintPath>G:\SteamLibrary\steamapps\common\Derail Valley\DerailValley_Data\Managed\DV.RadioPlayer.dll</HintPath>
|
|
|
|
|
</Reference>
|
|
|
|
|
<Reference Include="DV.Scenarios.CRUD">
|
|
|
|
|
<HintPath>G:\SteamLibrary\steamapps\common\Derail Valley\DerailValley_Data\Managed\DV.Scenarios.CRUD.dll</HintPath>
|
|
|
|
|
</Reference>
|
|
|
|
|
<Reference Include="DV.Simulation">
|
|
|
|
|
<HintPath>G:\SteamLibrary\steamapps\common\Derail Valley\DerailValley_Data\Managed\DV.Simulation.dll</HintPath>
|
|
|
|
|
</Reference>
|
|
|
|
|
<Reference Include="DV.Telemetry">
|
|
|
|
|
<HintPath>G:\SteamLibrary\steamapps\common\Derail Valley\DerailValley_Data\Managed\DV.Telemetry.dll</HintPath>
|
|
|
|
|
</Reference>
|
|
|
|
|
<Reference Include="DV.TerrainSystem">
|
|
|
|
|
<HintPath>G:\SteamLibrary\steamapps\common\Derail Valley\DerailValley_Data\Managed\DV.TerrainSystem.dll</HintPath>
|
|
|
|
|
</Reference>
|
|
|
|
|
<Reference Include="DV.TerrainTools">
|
|
|
|
|
<HintPath>G:\SteamLibrary\steamapps\common\Derail Valley\DerailValley_Data\Managed\DV.TerrainTools.dll</HintPath>
|
|
|
|
|
</Reference>
|
|
|
|
|
<Reference Include="DV.ThingTypes">
|
|
|
|
|
<HintPath>G:\SteamLibrary\steamapps\common\Derail Valley\DerailValley_Data\Managed\DV.ThingTypes.dll</HintPath>
|
|
|
|
|
</Reference>
|
|
|
|
|
<Reference Include="DV.UI">
|
|
|
|
|
<HintPath>G:\SteamLibrary\steamapps\common\Derail Valley\DerailValley_Data\Managed\DV.UI.dll</HintPath>
|
|
|
|
|
</Reference>
|
|
|
|
|
<Reference Include="DV.UIFramework">
|
|
|
|
|
<HintPath>G:\SteamLibrary\steamapps\common\Derail Valley\DerailValley_Data\Managed\DV.UIFramework.dll</HintPath>
|
|
|
|
|
</Reference>
|
|
|
|
|
<Reference Include="DV.UserManagement">
|
|
|
|
|
<HintPath>G:\SteamLibrary\steamapps\common\Derail Valley\DerailValley_Data\Managed\DV.UserManagement.dll</HintPath>
|
|
|
|
|
</Reference>
|
|
|
|
|
<Reference Include="DV.Utils">
|
|
|
|
|
<HintPath>G:\SteamLibrary\steamapps\common\Derail Valley\DerailValley_Data\Managed\DV.Utils.dll</HintPath>
|
|
|
|
|
</Reference>
|
|
|
|
|
<Reference Include="DV.WeatherSystem">
|
|
|
|
|
<HintPath>G:\SteamLibrary\steamapps\common\Derail Valley\DerailValley_Data\Managed\DV.WeatherSystem.dll</HintPath>
|
|
|
|
|
</Reference>
|
|
|
|
|
<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>
|
|
|
|
|
<!-- Derail Valley -->
|
|
|
|
|
|
|
|
|
|
<Reference Include="0Harmony" />
|
|
|
|
|
<Reference Include="Assembly-CSharp" />
|
|
|
|
|
<Reference Include="DV.BrakeSystem" />
|
|
|
|
|
<Reference Include="DV.Common" />
|
|
|
|
|
<Reference Include="DV.ControllerAnchors" />
|
|
|
|
|
<Reference Include="DV.Highlighting" />
|
|
|
|
|
<Reference Include="DV.Interaction" />
|
|
|
|
|
<Reference Include="DV.Inventory" />
|
|
|
|
|
<Reference Include="DV.Localization" />
|
|
|
|
|
<Reference Include="DV.NAudio" />
|
|
|
|
|
<Reference Include="DV.PointSet" />
|
|
|
|
|
<Reference Include="DV.RadioPlayer" />
|
|
|
|
|
<Reference Include="DV.Scenarios.CRUD" />
|
|
|
|
|
<Reference Include="DV.Simulation" />
|
|
|
|
|
<Reference Include="DV.Telemetry" />
|
|
|
|
|
<Reference Include="DV.TerrainSystem" />
|
|
|
|
|
<Reference Include="DV.TerrainTools" />
|
|
|
|
|
<Reference Include="DV.ThingTypes" />
|
|
|
|
|
<Reference Include="DV.UI" />
|
|
|
|
|
<Reference Include="DV.UIFramework" />
|
|
|
|
|
<Reference Include="DV.UserManagement" />
|
|
|
|
|
<Reference Include="DV.Utils" />
|
|
|
|
|
<Reference Include="DV.WeatherSystem" />
|
|
|
|
|
|
|
|
|
|
<!-- Unity -->
|
|
|
|
|
|
|
|
|
|
<Reference Include="UnityEngine" />
|
|
|
|
|
<Reference Include="UnityEngine.AccessibilityModule" />
|
|
|
|
|
<Reference Include="UnityEngine.AIModule" />
|
|
|
|
|
<Reference Include="UnityEngine.AndroidJNIModule" />
|
|
|
|
|
<Reference Include="UnityEngine.AnimationModule" />
|
|
|
|
|
<Reference Include="UnityEngine.ARModule" />
|
|
|
|
|
<Reference Include="UnityEngine.AssetBundleModule" />
|
|
|
|
|
<Reference Include="UnityEngine.AudioModule" />
|
|
|
|
|
<Reference Include="UnityEngine.ClothModule" />
|
|
|
|
|
<Reference Include="UnityEngine.ClusterInputModule" />
|
|
|
|
|
<Reference Include="UnityEngine.ClusterRendererModule" />
|
|
|
|
|
<Reference Include="UnityEngine.CoreModule" />
|
|
|
|
|
<Reference Include="UnityEngine.CrashReportingModule" />
|
|
|
|
|
<Reference Include="UnityEngine.DirectorModule" />
|
|
|
|
|
<Reference Include="UnityEngine.DSPGraphModule" />
|
|
|
|
|
<Reference Include="UnityEngine.GameCenterModule" />
|
|
|
|
|
<Reference Include="UnityEngine.GridModule" />
|
|
|
|
|
<Reference Include="UnityEngine.HotReloadModule" />
|
|
|
|
|
<Reference Include="UnityEngine.ImageConversionModule" />
|
|
|
|
|
<Reference Include="UnityEngine.IMGUIModule" />
|
|
|
|
|
<Reference Include="UnityEngine.InputLegacyModule" />
|
|
|
|
|
<Reference Include="UnityEngine.InputModule" />
|
|
|
|
|
<Reference Include="UnityEngine.JSONSerializeModule" />
|
|
|
|
|
<Reference Include="UnityEngine.LocalizationModule" />
|
|
|
|
|
<Reference Include="UnityEngine.ParticleSystemModule" />
|
|
|
|
|
<Reference Include="UnityEngine.PerformanceReportingModule" />
|
|
|
|
|
<Reference Include="UnityEngine.Physics2DModule" />
|
|
|
|
|
<Reference Include="UnityEngine.PhysicsModule" />
|
|
|
|
|
<Reference Include="UnityEngine.ProfilerModule" />
|
|
|
|
|
<Reference Include="UnityEngine.ScreenCaptureModule" />
|
|
|
|
|
<Reference Include="UnityEngine.SharedInternalsModule" />
|
|
|
|
|
<Reference Include="UnityEngine.SpatialTracking" />
|
|
|
|
|
<Reference Include="UnityEngine.SpriteMaskModule" />
|
|
|
|
|
<Reference Include="UnityEngine.SpriteShapeModule" />
|
|
|
|
|
<Reference Include="UnityEngine.StreamingModule" />
|
|
|
|
|
<Reference Include="UnityEngine.SubstanceModule" />
|
|
|
|
|
<Reference Include="UnityEngine.SubsystemsModule" />
|
|
|
|
|
<Reference Include="UnityEngine.TerrainModule" />
|
|
|
|
|
<Reference Include="UnityEngine.TerrainPhysicsModule" />
|
|
|
|
|
<Reference Include="UnityEngine.TextCoreModule" />
|
|
|
|
|
<Reference Include="UnityEngine.TextRenderingModule" />
|
|
|
|
|
<Reference Include="UnityEngine.TilemapModule" />
|
|
|
|
|
<Reference Include="UnityEngine.TLSModule" />
|
|
|
|
|
<Reference Include="UnityEngine.UI" />
|
|
|
|
|
<Reference Include="UnityEngine.UIElementsModule" />
|
|
|
|
|
<Reference Include="UnityEngine.UIModule" />
|
|
|
|
|
<Reference Include="UnityEngine.UmbraModule" />
|
|
|
|
|
<Reference Include="UnityEngine.UNETModule" />
|
|
|
|
|
<Reference Include="UnityEngine.UnityAnalyticsModule" />
|
|
|
|
|
<Reference Include="UnityEngine.UnityConnectModule" />
|
|
|
|
|
<Reference Include="UnityEngine.UnityTestProtocolModule" />
|
|
|
|
|
<Reference Include="UnityEngine.UnityWebRequestAssetBundleModule" />
|
|
|
|
|
<Reference Include="UnityEngine.UnityWebRequestAudioModule" />
|
|
|
|
|
<Reference Include="UnityEngine.UnityWebRequestModule" />
|
|
|
|
|
<Reference Include="UnityEngine.UnityWebRequestTextureModule" />
|
|
|
|
|
<Reference Include="UnityEngine.UnityWebRequestWWWModule" />
|
|
|
|
|
<Reference Include="UnityEngine.VehiclesModule" />
|
|
|
|
|
<Reference Include="UnityEngine.VFXModule" />
|
|
|
|
|
<Reference Include="UnityEngine.VideoModule" />
|
|
|
|
|
<Reference Include="UnityEngine.VRModule" />
|
|
|
|
|
<Reference Include="UnityEngine.WindModule" />
|
|
|
|
|
<Reference Include="UnityEngine.XR.LegacyInputHelpers" />
|
|
|
|
|
<Reference Include="UnityEngine.XRModule" />
|
|
|
|
|
|
|
|
|
|
<Reference Include="UnityModManager" />
|
|
|
|
|
</ItemGroup>
|
|
|
|
|
|
|
|
|
|
<Target Name="PostBuild" AfterTargets="PostBuildEvent">
|
|
|
|
@ -119,7 +118,8 @@
|
|
|
|
|
<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)"" />
|
|
|
|
|
<Exec Condition="'$(OS)' == 'Windows_NT'" Command="powershell -executionpolicy bypass ../package.ps1 -NoArchive -OutputDirectory 'D:\Programs\Derail Valley\Mods'" />
|
|
|
|
|
<!-- todo fix linux below-->
|
|
|
|
|
<!-- <Exec Condition="'$(ConfigurationName)' == 'Release' And '$(OS)' != 'Windows_NT'" Command="pwsh -Command "(../package.ps1)"" />-->
|
|
|
|
|
</Target>
|
|
|
|
|
</Project>
|
|
|
|
|