-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathExampleMod.csproj
83 lines (83 loc) · 3.26 KB
/
ExampleMod.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
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Testing</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{782272B5-7B61-4840-ABF2-9E53B3D8A80F}</ProjectGuid>
<OutputType>Library</OutputType>
<RootNamespace>ExampleMod</RootNamespace>
<AssemblyName>KeybindLib.ExampleMod</AssemblyName>
<Nullable>enable</Nullable>
<NoWarn>CS0628</NoWarn>
<TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<LangVersion>8.0</LangVersion>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>embedded</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug</OutputPath>
<DefineConstants>DEBUG</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<ConsolePause>false</ConsolePause>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Testing|AnyCPU' ">
<Optimize>true</Optimize>
<OutputPath>bin\Testing</OutputPath>
<DefineConstants>TESTING</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<ConsolePause>false</ConsolePause>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="SRML">
<HintPath>..\..\build\build-depends\SRML.dll</HintPath>
</Reference>
<Reference Include="InControl">
<HintPath>..\..\build\build-depends\InControl.dll</HintPath>
</Reference>
<Reference Include="Assembly-CSharp">
<HintPath>..\..\build\build-depends\Assembly-CSharp.dll</HintPath>
</Reference>
</ItemGroup>
<ItemGroup>
<Compile Include="Main.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="Keybinds.cs" />
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="modinfo.json" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\KeybindLib\KeybindLib.csproj">
<Project>{8F68A793-FA37-4159-82FA-088D28190AC5}</Project>
<Name>KeybindLib</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<None Include="README.md" />
</ItemGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
<!-- -->
<PropertyGroup>
<BuildDir>..\..\build</BuildDir>
</PropertyGroup>
<Target Name="CopyOutputToModsDir" AfterTargets="Build" Condition=" '$(Configuration)' == 'Debug' ">
<ReadLinesFromFile File="$(BuildDir)\mods-dir">
<Output TaskParameter="Lines" PropertyName="ModsDir" />
</ReadLinesFromFile>
<Copy SourceFiles="$(TargetPath)" DestinationFolder="$(ModsDir)" />
</Target>
<Target Name="FullClean" AfterTargets="Clean">
<ReadLinesFromFile File="$(BuildDir)\mods-dir">
<Output TaskParameter="Lines" PropertyName="ModsDir" />
</ReadLinesFromFile>
<RemoveDir Directories="..\$(ProjectName)\bin;..\$(ProjectName)\obj" />
<Delete Files="$(ModsDir)\$(TargetFileName)" Condition=" '$(Configuration)' == 'Debug' " />
</Target>
<!-- -->
</Project>