-
Notifications
You must be signed in to change notification settings - Fork 0
/
NoBaboonButton.csproj
35 lines (30 loc) · 1.56 KB
/
NoBaboonButton.csproj
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net472</TargetFramework>
<AssemblyName>NoBaboonButton</AssemblyName>
<Description>Delete the baboon/card button in the point scene</Description>
<Version>1.0.0</Version>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<LangVersion>latest</LangVersion>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="BepInEx.Core" Version="5.*" />
<PackageReference Include="BepInEx.PluginInfoProps" Version="1.*" />
<PackageReference Include="TromboneChamp.GameLibs" Version="1.18" />
</ItemGroup>
<ItemGroup Condition="'$(TargetFramework.TrimEnd(`0123456789`))' == 'net'">
<PackageReference Include="Microsoft.NETFramework.ReferenceAssemblies" Version="1.0.2" PrivateAssets="all" />
</ItemGroup>
<Target Name="PostBuild" AfterTargets="PostBuildEvent">
<Copy SourceFiles="$(TargetPath)" DestinationFolder="$(TromboneChampDir)/BepInEx/plugins" />
</Target>
<Target Name="ThunderstoreZip" AfterTargets="Build">
<Delete Files="$(OutDir)thunderstore" />
<Delete Files="$(SolutionDir)$(ProjectName).zip" />
<Copy SourceFiles="icon.png" DestinationFolder="$(OutDir)thunderstore" />
<Copy SourceFiles="manifest.json" DestinationFolder="$(OutDir)thunderstore" />
<Copy SourceFiles="README.md" DestinationFolder="$(OutDir)thunderstore" />
<Copy SourceFiles="$(TargetPath)" DestinationFolder="$(OutDir)thunderstore" />
<ZipDirectory DestinationFile="$(SolutionDir)$(ProjectName).zip" SourceDirectory="$(OutDir)thunderstore" />
</Target>
</Project>