build 99.5 compat and tabs

main
t0stiman 2025-06-19 11:04:12 +02:00
parent 994c51932e
commit 15b38c845d
1 changed files with 148 additions and 157 deletions

View File

@ -2,7 +2,7 @@
<PropertyGroup> <PropertyGroup>
<AssemblyName>secret_rooms_code</AssemblyName> <AssemblyName>secret_rooms_code</AssemblyName>
<TargetFramework>net48</TargetFramework> <TargetFramework>net48</TargetFramework>
<LangVersion>latest</LangVersion> <LangVersion>11</LangVersion>
<WarningsAsErrors>CS8600;CS8602;CS8603</WarningsAsErrors> <WarningsAsErrors>CS8600;CS8602;CS8603</WarningsAsErrors>
</PropertyGroup> </PropertyGroup>
@ -14,6 +14,7 @@
<!-- Derail Valley --> <!-- Derail Valley -->
<Reference Include="Assembly-CSharp" /> <Reference Include="Assembly-CSharp" />
<Reference Include="DV.BrakeSystem" /> <Reference Include="DV.BrakeSystem" />
<Reference Include="DV.Cabcontrols.Spec" />
<Reference Include="DV.CharacterController" /> <Reference Include="DV.CharacterController" />
<Reference Include="DV.Common" /> <Reference Include="DV.Common" />
<Reference Include="DV.ControllerAnchors" /> <Reference Include="DV.ControllerAnchors" />
@ -154,14 +155,4 @@
<Publicize Include="DV.UI" IncludeCompilerGeneratedMembers="false" /> <Publicize Include="DV.UI" IncludeCompilerGeneratedMembers="false" />
</ItemGroup> </ItemGroup>
<Target Name="PostBuild" AfterTargets="PostBuildEvent">
<!-- Copy to build folder -->
<Copy SourceFiles="$(TargetPath)" DestinationFolder="build/" />
<!-- Package after Release build -->
<Exec Condition="'$(OS)' == 'Windows_NT'" Command="powershell -executionpolicy bypass .\package.ps1 -NoArchive -OutputDirectory 'D:\Programs\Derail Valley\Mods'" />
<!-- Linux -->
<Exec Condition="'$(OS)' != 'Windows_NT'" Command="pwsh -Command &quot;(package.ps1)&quot;" />
</Target>
</Project> </Project>