forked from tModLoader/tModLoader
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.Common.targets
44 lines (39 loc) · 1.73 KB
/
setup.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
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<!-- Common -->
<PropertyGroup>
<RootNamespace>Terraria.ModLoader</RootNamespace>
<ApplicationIcon>./Setup/tModLoaderSetup.ico</ApplicationIcon>
<!-- Avoid weird 'Duplicate attribute' build errors -->
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
<GenerateTargetFrameworkAttribute>false</GenerateTargetFrameworkAttribute>
</PropertyGroup>
<!-- Project references -->
<ItemGroup>
<ProjectReference Include="PatchReviewer\PatchReviewer.csproj" />
</ItemGroup>
<!-- Package references -->
<ItemGroup>
<PackageReference Include="Humanizer.Core" Version="2.7.9" />
<PackageReference Include="Microsoft.Build.Locator" Version="1.2.6" />
<PackageReference Include="MonoMod.RuntimeDetour.HookGen" Version="22.5.1.1" />
<PackageReference Include="Microsoft.CodeAnalysis.CSharp.Workspaces" Version="3.4.0" />
<PackageReference Include="Microsoft.CodeAnalysis.Workspaces.MSBuild" Version="3.4.0" />
</ItemGroup>
<!-- Library references -->
<ItemGroup>
<Reference Include="ICSharpCode.Decompiler" HintPath="lib\ICSharpCode.Decompiler.dll" />
</ItemGroup>
<!-- PatchReviewer exclusion -->
<ItemGroup>
<Page Remove="PatchReviewer\**" />
<Compile Remove="PatchReviewer\**" />
<EmbeddedResource Remove="PatchReviewer\**" />
<None Remove="PatchReviewer\**" />
</ItemGroup>
<!-- Settings Generation -->
<ItemGroup>
<None Update="Properties\Settings.settings" Generator="SettingsSingleFileGenerator" LastGenOutput="Settings.Designer.cs" />
<Compile Update="Properties\Settings.Designer.cs" AutoGen="True" DependentUpon="Settings.settings" DesignTimeSharedInput="True" />
</ItemGroup>
</Project>