-
Notifications
You must be signed in to change notification settings - Fork 0
/
common.targets
51 lines (39 loc) · 1.9 KB
/
common.targets
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
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Authors>Nuztalgia</Authors>
<PackageLicenseExpression>GPL-3.0-only</PackageLicenseExpression>
<RepositoryUrl>https://github.com/nuztalgia/StardewMods</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<TargetFramework>net5.0</TargetFramework>
<LangVersion>latest</LangVersion>
<Nullable>enable</Nullable>
<EnableModZip Condition="$(Configuration) != 'Release'">False</EnableModZip>
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
<ModZipPath>$(SolutionDir)\_releases</ModZipPath>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Pathoschild.Stardew.ModBuildConfig" Version="4.0.1" />
<Using Include="System" />
<Using Include="System.Collections.Generic" />
<Using Include="System.Linq" />
<Using Include="System.Reflection" />
<Using Include="StardewModdingAPI" />
<Using Include="StardewValley" />
</ItemGroup>
<PropertyGroup Condition="$(DefineConstants.Contains('HARMONY'))">
<EnableHarmony>true</EnableHarmony>
</PropertyGroup>
<PropertyGroup Condition="$(DefineConstants.Contains('I18N'))">
<TranslationClassBuilder_ClassName>I18n</TranslationClassBuilder_ClassName>
<TranslationClassBuilder_Namespace>MTCB</TranslationClassBuilder_Namespace>
</PropertyGroup>
<ItemGroup Condition="$(DefineConstants.Contains('I18N'))">
<PackageReference Include="Pathoschild.Stardew.ModTranslationClassBuilder" Version="2.0.1" />
<Using Include="$(TranslationClassBuilder_Namespace)" />
</ItemGroup>
<PropertyGroup Condition="$(DefineConstants.Contains('I18N_KEYS'))">
<TranslationClassBuilder_AddGetByKey>true</TranslationClassBuilder_AddGetByKey>
<TranslationClassBuilder_AddKeyMap>true</TranslationClassBuilder_AddKeyMap>
</PropertyGroup>
<Import Project="Common\Common.projitems" />
</Project>