-
Notifications
You must be signed in to change notification settings - Fork 0
/
common.props
33 lines (28 loc) · 1.16 KB
/
common.props
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
<?xml version="1.0" encoding="utf-8"?>
<Project>
<Import Project="game.props" />
<PropertyGroup>
<TargetFramework>net472</TargetFramework>
<OutputType>Library</OutputType>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
<LangVersion>latest</LangVersion>
<DebugType>none</DebugType>
<BepinExPath>$(GamePath)BepInEx\</BepinExPath>
<BepinExCorePath>$(BepinExPath)core\</BepinExCorePath>
<InteropPath>$(BepinExPath)interop\</InteropPath>
<ModsPath>$(BepinExPath)plugins\</ModsPath>
<ModSubPath></ModSubPath>
<!--This tells the compiler where to look for assemblies. Don't change it.-->
<AssemblySearchPaths>$(AssemblySearchPaths);$(BepinExCorePath);$(InteropPath);</AssemblySearchPaths>
</PropertyGroup>
<Import Project="common-references.props" />
<!--This tells the compiler to not include referenced assemblies in the output folder.-->
<ItemDefinitionGroup>
<Reference>
<Private>False</Private>
</Reference>
</ItemDefinitionGroup>
<Target Name="PostBuild" AfterTargets="PostBuildEvent">
<Copy SourceFiles="$(OutputPath)$(AssemblyName).dll" DestinationFolder="$(ModsPath)$(ModSubPath)" ContinueOnError="false" />
</Target>
</Project>