-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDrops.csproj
130 lines (126 loc) · 5.33 KB
/
Drops.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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{64DE9F1A-F450-4613-8658-5575B65A6D50}</ProjectGuid>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>Nm1fiOutward.Drops</RootNamespace>
<AssemblyName>DropTableAlterations</AssemblyName>
<TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<Deterministic>true</Deterministic>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>..\Outward\BepInEx\plugins\raphendyr DropTableAlterations\</OutputPath>
<DefineConstants>TRACE;DEBUG</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>none</DebugType>
<Optimize>true</Optimize>
<OutputPath>dist\</OutputPath>
<DefineConstants>
</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
<Compile Include="DropTableAlteration.cs" />
<Compile Include="DropTableAlterationCategory.cs" />
<Compile Include="DropTableLogger.cs" />
<Compile Include="DropTableMatcher.cs" />
<Compile Include="DropableAlteration.cs" />
<Compile Include="DropableWrapper.cs" />
<Compile Include="DropsConfig.cs" />
<Compile Include="DropsPatcher.cs" />
<Compile Include="DropsPlugin.cs" />
<Compile Include="External\ConfigurationManagerAttributes.cs" />
<Compile Include="Interfaces\ITemplateListItem.cs" />
<Compile Include="ItemDrop.cs" />
<Compile Include="ItemDropperMatcher.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
<ItemGroup>
<Reference Include="0Harmony">
<HintPath>..\Outward\BepInEx\core\0Harmony.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="Assembly-CSharp">
<HintPath>..\Outward\Outward_Data\Managed\Assembly-CSharp.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="Assembly-CSharp-firstpass">
<HintPath>..\Outward\Outward_Data\Managed\Assembly-CSharp-firstpass.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="BepInEx">
<HintPath>..\Outward\BepInEx\core\BepInEx.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="SideLoader">
<HintPath>..\Outward\BepInEx\plugins\sinai-dev SideLoader\SideLoader.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="Microsoft.CSharp" />
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.Xml" />
<Reference Include="UnityEngine">
<HintPath>..\Outward\Outward_Data\Managed\UnityEngine.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="UnityEngine.CoreModule">
<HintPath>..\Outward\Outward_Data\Managed\UnityEngine.CoreModule.dll</HintPath>
<Private>False</Private>
</Reference>
</ItemGroup>
<ItemGroup>
<None Include="mefino-manifest.json" />
<None Include="README.md" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<Target Name="PostBuildMacros">
<GetAssemblyIdentity AssemblyFiles="$(TargetPath)">
<Output TaskParameter="Assemblies" ItemName="TargetAssembly" />
</GetAssemblyIdentity>
<ItemGroup>
<VersionNumber Include="@(TargetAssembly->'%(Version)')" />
</ItemGroup>
</Target>
<PropertyGroup>
<PostBuildEventDependsOn>
$(PostBuildEventDependsOn);
PostBuildMacros;
</PostBuildEventDependsOn>
<PostBuildEvent>@echo Post-Build started
set "zip=C:\Program Files\7-Zip\7z.exe"
set "mefinotarget=$(TargetDir)droptablealterations-mefino.zip"
set "manualtarget=$(TargetDir)droptablealterations-manual.zip"
set "manualdist=BepInEx\plugins\raphendyr DropTableAlterations\"
set "manualsource=BepInEx"
if "$(ConfigurationName)" == "Release" (
cd "$(TargetDir)"
@echo Building mefino distribution
if exist "%25mefinotarget%25" del "%25mefinotarget%25"
call "%25zip%25" a -tzip -stl -bd -- "%25mefinotarget%25" "$(TargetFileName)"
@echo
@echo Building manual distribution
md "%25manualdist%25"
xcopy "$(TargetFileName)" "%25manualdist%25" /d /y
@echo { > "%25manualdist%25mefino-manifest.json"
@echo "version": "@(VersionNumber)", >> "%25manualdist%25mefino-manifest.json"
@more +1 "$(ProjectDir)mefino-manifest.json" >> "%25manualdist%25mefino-manifest.json"
if exist "%25manualtarget%25" del "%25manualtarget%25"
call "%25zip%25" a -tzip -stl -bd -- "%25manualtarget%25" "%25manualsource%25"
rmdir %25manualsource%25 /s /q
)
@echo Post-Build completed</PostBuildEvent>
</PropertyGroup>
</Project>