-
Notifications
You must be signed in to change notification settings - Fork 1
/
FEZ.HAT.mm.csproj
93 lines (79 loc) · 3.24 KB
/
FEZ.HAT.mm.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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
<Project Sdk="Microsoft.NET.Sdk">
<!-- Project properties -->
<PropertyGroup>
<OutputType>Library</OutputType>
<TargetFramework>net48</TargetFramework>
<LangVersion>latest</LangVersion>
<AssemblyName>FEZ.HAT.mm</AssemblyName>
<RootNamespace>HatModLoader</RootNamespace>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
<DebugType>full</DebugType>
</PropertyGroup>
<PropertyGroup>
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
<AppendRuntimeIdentifierToOutputPath>false</AppendRuntimeIdentifierToOutputPath>
</PropertyGroup>
<!-- Build operations -->
<Target Name="VerifyModReferences" BeforeTargets="BeforeBuild">
<Error Text="You forgot to edit UserProperties.xml." Condition="$(UserPropertiesNotSetUp) == True" />
</Target>
<Target Name="CleanUpHooksLibrary" BeforeTargets="Clean">
<Delete Files="$(TargetDir)FEZ.Hooks.mm.dll" />
</Target>
<Target Name="RearrangeDependencies" AfterTargets="Build">
<ItemGroup>
<MonoModDependencies Include="$(TargetDir)Mono*" />
</ItemGroup>
<ItemGroup>
<RepackerDependencies Include="$(TargetDir)*.dll" Exclude="$(TargetDir)Mono*.dll;$(TargetDir)*.mm.dll" />
</ItemGroup>
<Move SourceFiles="@(MonoModDependencies)" DestinationFolder="$(TargetDir)HATDependencies/MonoMod"/>
<Move SourceFiles="@(RepackerDependencies)" DestinationFolder="$(TargetDir)HATDependencies/FEZRepacker.Core"/>
</Target>
<!-- Dependencies -->
<ItemGroup>
<PackageReference Include="FEZRepacker.Core" Version="1.1.1" />
<PackageReference Include="ILRepack.Lib.MSBuild.Task" Version="2.0.26">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="MonoMod" Version="22.7.31.1" />
<PackageReference Include="MonoMod.RuntimeDetour" Version="22.7.31.1" />
<PackageReference Include="MonoMod.RuntimeDetour.HookGen" Version="22.7.31.1" GeneratePathProperty="true">
<PrivateAssets>all</PrivateAssets>
</PackageReference>
</ItemGroup>
<ItemGroup>
<Reference Include="Common">
<HintPath>Dependencies\Common.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="ContentSerialization">
<HintPath>Dependencies\ContentSerialization.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="EasyStorage">
<HintPath>Dependencies\EasyStorage.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="FEZ">
<HintPath>Dependencies\FEZ.exe</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="FezEngine">
<HintPath>Dependencies\FezEngine.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="FNA">
<HintPath>Dependencies\FNA.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="System.IO.Compression" />
<Reference Include="XnaWordWrapCore">
<HintPath>Dependencies\XnaWordWrapCore.dll</HintPath>
<Private>False</Private>
</Reference>
</ItemGroup>
</Project>