forked from Vl4dimyr/CaptainShotgunModes
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CaptainShotgunModes.csproj
66 lines (58 loc) · 2.85 KB
/
CaptainShotgunModes.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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
<?xml version="1.0" encoding="utf-8"?>
<Project Sdk="Microsoft.NET.Sdk" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<!--Change this path if required-->
<BepInExPath>$(HOME)/.config/r2modmanPlus-local/RiskOfRain2/profiles/Default/BepInEx</BepInExPath>
<AssemblySearchPaths>
$(BepInExPath)/plugins/Rune580-Risk_Of_Options;
$(AssemblySearchPaths);
</AssemblySearchPaths>
<ApplicationIcon>icon.ico</ApplicationIcon>
<BuildInParallel>True</BuildInParallel>
<Configuration>Release</Configuration>
<CopyDocumentationFileToOutputDirectory>False</CopyDocumentationFileToOutputDirectory>
<CreateHardLinksForAdditionalFilesIfPossible>True</CreateHardLinksForAdditionalFilesIfPossible>
<CreateHardLinksForCopyFilesToOutputDirectoryIfPossible>True</CreateHardLinksForCopyFilesToOutputDirectoryIfPossible>
<DebugSymbols>False</DebugSymbols>
<DebugType>None</DebugType>
<Deterministic>True</Deterministic>
<ErrorReport>none</ErrorReport>
<Features>strict</Features>
<GenerateDependencyFile>yiff</GenerateDependencyFile>
<LangVersion>latest</LangVersion>
<NoLogo>True</NoLogo>
<NoWin32Manifest>True</NoWin32Manifest>
<Optimize>True</Optimize>
<OutDir>out</OutDir>
<TargetFramework>netstandard2.1</TargetFramework>
</PropertyGroup>
<ItemGroup>
<Reference Include="RiskOfOptions" Private="False" />
<EmbeddedResource Include="icon-notext.png" LogicalName="icon" />
<PackageReference NoWarn="NU1701" Version="*-*" Include="
BepInEx.BaseLib;
MMHOOK.RoR2;
R2API;
RiskOfRain2.GameLibs;
UnityEngine;
UnityEngine.Modules;
" />
<None CopyToOutputDirectory="PreserveNewest" Include="manifest.json;README.md" />
</ItemGroup>
<Target Name="ZipOutputPath" AfterTargets="Build">
<ZipDirectory Overwrite="True" SourceDirectory="$(OutDir)" DestinationFile="Unknown-$(ProjectName).zip" />
</Target>
<Target Name="GenerateIconPng" BeforeTargets="BeforeBuild" Inputs="icon.svg" Outputs="$(OutDir)icon.png">
<MakeDir Directories="$(OutDir)"/>
<Exec Command="rsvg-convert 'icon.svg' | convert png:- -colors 256 'png8:$(OutDir)icon.png'" />
<Exec Command="optipng -strip all -o7 -zm1-9 '$(OutDir)icon.png'" />
</Target>
<Target Name="GenerateNoTextIconPng" BeforeTargets="BeforeBuild" Inputs="icon.svg" Outputs="icon-notext.png">
<MakeDir Directories="$(OutDir)"/>
<Exec Command="rsvg-convert -s notext.css 'icon.svg' | convert png:- -colors 256 'png8:icon-notext.png'" />
<Exec Command="optipng -strip all -o7 -zm1-9 'icon-notext.png'" />
</Target>
<Target Name="GenerateIco" BeforeTargets="BeforeBuild" Inputs="$(OutDir)icon.png" Outputs="icon.ico">
<Exec Command="convert '$(OutDir)icon.png' 'icon.ico'" />
</Target>
</Project>