-
-
Notifications
You must be signed in to change notification settings - Fork 52
/
Copy pathTerrariaOverhaul.csproj
67 lines (58 loc) · 3.18 KB
/
TerrariaOverhaul.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
<Project Sdk="Microsoft.NET.Sdk">
<Import Project="..\tModLoader.targets" />
<Import Project="BuildTools\BuildTools.targets" />
<PropertyGroup>
<Nullable>enable</Nullable>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
</PropertyGroup>
<ItemGroup>
<Reference Include="Tomlyn">
<HintPath>lib/Tomlyn.dll</HintPath>
</Reference>
</ItemGroup>
<ItemGroup>
<!-- This wasn't expanding right for whatever reason. No time to figure this out. -->
<!-- <LocalizationFiles Include="Localization\**\*.hjson" /> -->
<LocalizationFiles Include="Localization\de-DE\Mods.TerrariaOverhaul.hjson" />
<LocalizationFiles Include="Localization\de-DE\Mods.TerrariaOverhaul.Configuration.hjson" />
<LocalizationFiles Include="Localization\en-US\Mods.TerrariaOverhaul.hjson" />
<LocalizationFiles Include="Localization\en-US\Mods.TerrariaOverhaul.Configuration.hjson" />
<LocalizationFiles Include="Localization\es-ES\Mods.TerrariaOverhaul.hjson" />
<LocalizationFiles Include="Localization\es-ES\Mods.TerrariaOverhaul.Configuration.hjson" />
<LocalizationFiles Include="Localization\fr-FR\Mods.TerrariaOverhaul.hjson" />
<LocalizationFiles Include="Localization\fr-FR\Mods.TerrariaOverhaul.Configuration.hjson" />
<LocalizationFiles Include="Localization\it-IT\Mods.TerrariaOverhaul.hjson" />
<LocalizationFiles Include="Localization\it-IT\Mods.TerrariaOverhaul.Configuration.hjson" />
<LocalizationFiles Include="Localization\pl-PL\Mods.TerrariaOverhaul.hjson" />
<LocalizationFiles Include="Localization\pl-PL\Mods.TerrariaOverhaul.Configuration.hjson" />
<LocalizationFiles Include="Localization\pt-BR\Mods.TerrariaOverhaul.hjson" />
<LocalizationFiles Include="Localization\pt-BR\Mods.TerrariaOverhaul.Configuration.hjson" />
<LocalizationFiles Include="Localization\ru-RU\Mods.TerrariaOverhaul.hjson" />
<LocalizationFiles Include="Localization\ru-RU\Mods.TerrariaOverhaul.Configuration.hjson" />
<LocalizationFiles Include="Localization\zh-Hans\Mods.TerrariaOverhaul.hjson" />
<LocalizationFiles Include="Localization\zh-Hans\Mods.TerrariaOverhaul.Configuration.hjson" />
<Compile Remove="Old\**" />
<Compile Remove="lib\**" />
<Compile Remove="BuildTools\**" />
<EmbeddedResource Remove="Old\**" />
<EmbeddedResource Remove="lib\**" />
<EmbeddedResource Remove="BuildTools\**" />
<None Remove="Old\**" />
<None Remove="lib\**" />
<None Remove="BuildTools\**" />
<None Remove="**\*.png" />
<None Remove="**\*.ogg" />
<None Remove="**\*.ase" />
<!-- Weirdly, without this a bunch of files appear in VS regardless of being excluded from all other groups -->
<AdditionalFiles Remove="**" />
</ItemGroup>
<Target Name="UpdateLocalizationFiles" BeforeTargets="BeforeCompile" DependsOnTargets="InvokeCustomTasks">
<!-- Obsolete since 1.4.4 TML -->
<!--
<Message Text="Synchronizing localization files..." Importance="high" />
<SynchronizeLocalizationFiles MainFile="Localization\en-US.hjson" LocalizationFiles="@(LocalizationFiles)" />
-->
<Message Text="Generating localization statistics..." Importance="high" />
<GenerateLocalizationStats ResultsOutputPath="Localization\README.md" MainCulture="en-US" LocalizationFiles="@(LocalizationFiles)" />
</Target>
</Project>