-
Notifications
You must be signed in to change notification settings - Fork 1
/
Sledgehammer.csproj
46 lines (39 loc) · 1.66 KB
/
Sledgehammer.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
<?xml version="1.0" encoding="utf-8"?>
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net472</TargetFramework>
<Configurations>Release;Debug</Configurations>
<AssemblyName>$(MSBuildProjectName)-Workshop</AssemblyName>
<LangVersion>latest</LangVersion>
<NoWarn>CS0114</NoWarn>
</PropertyGroup>
<PropertyGroup>
<!-- Where you want the content/ folder to go (the parent of this folder is your "workshop folder" when uploading). By default, this is the root folder of the project. -->
<WorkshopDir>$(ProjectDir)content</WorkshopDir>
<!-- ASSET BUNDLES -->
<!-- Set the next line to 'true' if you have an asset bundle -->
<EnableAssetBundleDeploy>false</EnableAssetBundleDeploy>
<!-- Change this if your mod.assets is located elsewhere than the default location -->
<AssetBundlePath>$(ProjectDir)content\mod.assets</AssetBundlePath>
</PropertyGroup>
<!-- Exclude build artifacts and Unity project -->
<ItemGroup>
<Compile Remove="content\**" />
<Compile Remove="UnityProject\**" />
<EmbeddedResource Remove="content\**" />
<EmbeddedResource Remove="UnityProject\**" />
<None Remove="content\**" />
<None Remove="UnityProject\**" />
</ItemGroup>
<!-- Exclude workshop metadata -->
<ItemGroup>
<None Remove="plateup_mod_metadata.json" />
<None Remove="*.png" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Yariazen.PlateUp.ModBuildUtilities" Version="1.7.26" />
</ItemGroup>
<Target Name="BundleWorkshop" AfterTargets="Build" Condition="$(EnableModDeployLocal) == 'true'">
<Copy SourceFiles="$(TargetDir)$(MSBuildProjectName)-Workshop.dll" DestinationFolder="$(WorkshopDir)" />
</Target>
</Project>