-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathRecipePatcher.csproj
42 lines (39 loc) · 1.61 KB
/
RecipePatcher.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
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net7</TargetFramework>
<LangVersion>11</LangVersion>
</PropertyGroup>
<ItemGroup>
<Reference Include="Vintagestory">
<HintPath>$(VINTAGE_STORY)\Vintagestory.exe</HintPath>
<Private>false</Private>
</Reference>
<Reference Include="VintagestoryAPI">
<HintPath>$(VINTAGE_STORY)\VintagestoryAPI.dll</HintPath>
<Private>false</Private>
</Reference>
<Reference Include="VSEssentials">
<HintPath>$(VINTAGE_STORY)\Mods\VSEssentials.dll</HintPath>
<Private>false</Private>
</Reference>
<!-- Vintage Story Included Libraries -->
<Reference Include="0Harmony">
<HintPath>$(VINTAGE_STORY)\Lib\0Harmony.dll</HintPath>
<Private>false</Private>
</Reference>
<Reference Include="Newtonsoft.Json">
<HintPath>$(VINTAGE_STORY)\Lib\Newtonsoft.Json.dll</HintPath>
<Private>false</Private>
</Reference>
</ItemGroup>
<ItemGroup Condition="'$(Configuration)' == 'ReleaseToMods'">
<None Include="*ICENSE" CopyToOutputDirectory="PreserveNewest" />
<None Include="resources/**">
<Link>%(RecursiveDir)%(Filename)%(Extension)</Link>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
</ItemGroup>
<Target Name="Package" AfterTargets="PostBuildEvent" Condition="'$(Configuration)' == 'ReleaseToMods'">
<ZipDirectory DestinationFile="$(VINTAGE_STORY_DATA)/Mods/$(TargetName)-v1.1.1.zip" SourceDirectory="$(TargetDir)" Overwrite="true" />
</Target>
</Project>