-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathLevelUp.csproj
31 lines (25 loc) · 1 KB
/
LevelUp.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
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net472</TargetFramework>
<LangVersion>12</LangVersion>
<Nullable>enable</Nullable>
<DebugType>none</DebugType>
<Optimize>true</Optimize>
<ModOutput Condition="$(ModOutput) == ''">$(MSBuildThisFileDirectory)bin\</ModOutput>
<LevelUpFolder>$(ModOutput)LevelUp\</LevelUpFolder>
<OutDir>$(LevelUpFolder)Assemblies</OutDir>
</PropertyGroup>
<ItemGroup>
<ModItem Include="About\*;Defs\**\*;Languages\**\*;Sounds\**\*;Textures\**\*" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Krafs.Rimworld.Ref" Version="1.5.4297" />
<PackageReference Include="Lib.Harmony" Version="2.3.3" ExcludeAssets="runtime" />
</ItemGroup>
<Target Name="CopyToModOutput" AfterTargets="Build">
<Copy SourceFiles="@(ModItem)" DestinationFiles="$(LevelUpFolder)%(Identity)" />
</Target>
<Target Name="CleanModOutput" AfterTargets="Clean">
<RemoveDir Directories="$(LevelUpFolder)" />
</Target>
</Project>