Migrate to Reactor.MSBuild

This commit is contained in:
js6pak committed 2021-06-07 22:31:55 +02:00
1 parent a93df5194f
commit 1509a94257
11 files changed
+82 -187

No files matched your search

+13 -8
View File
@@ -1,18 +1,23 @@
<Project>
<PropertyGroup Condition="'$(GamePlatform)' == 'Steam'">
<GameVersion>2021.4.14s</GameVersion>
<DefineConstants>$(DefineConstants);STEAM</DefineConstants>
<PropertyGroup>
<GamePlatform Condition="'$(GamePlatform)' == ''">Steam</GamePlatform>
<GameVersion Condition="'$(GamePlatform)' == 'Steam'">2021.5.25.2s</GameVersion>
<GameVersion Condition="'$(GamePlatform)' == 'Itch'">2021.5.10i</GameVersion>
</PropertyGroup>
<PropertyGroup>
<Mappings>NuclearPowered/Mappings:0.4.0</Mappings>
<PropertyGroup Condition="'$(Configuration)' == 'Debug'">
<GameProvider>$(GamePlatform)</GameProvider>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)' == 'Release'">
<GameProvider>Github</GameProvider>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Reactor.OxygenFilter.MSBuild" Version="0.3.0" />
<PackageReference Include="Reactor.MSBuild" Version="0.1.1" />
</ItemGroup>
<Target Name="Copy" AfterTargets="Reobfuscate">
<Copy SourceFiles="$(OutputPath)reobfuscated/$(AssemblyName)-$(GameVersion).dll" DestinationFolder="$(AmongUs)/BepInEx/plugins/" Condition="'$(Configuration)' == 'Debug'" />
<Target Name="Copy" AfterTargets="Build" Condition="'$(AmongUs)' != ''">
<Copy SourceFiles="$(OutputPath)$(AssemblyName).dll;$(OutputPath)$(AssemblyName).pdb" DestinationFolder="$(AmongUs)/BepInEx/plugins/" Condition="'$(Configuration)' == 'Debug'" />
</Target>
</Project>