-
-
Notifications
You must be signed in to change notification settings - Fork 109
Expand file tree
/
Copy pathReloaded.Utils.Server.csproj
More file actions
63 lines (52 loc) · 2.28 KB
/
Reloaded.Utils.Server.csproj
File metadata and controls
63 lines (52 loc) · 2.28 KB
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
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net10.0-windows</TargetFramework>
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
<LangVersion>12.0</LangVersion>
<Nullable>enable</Nullable>
<AllowUnsafeBlocks>True</AllowUnsafeBlocks>
<OutputPath>$(RELOADEDIIMODS)/Reloaded.Utils.Server</OutputPath>
<Nullable>enable</Nullable>
<!-- IL Trimming Support forked from https://github.com/space-wizards/RobustToolbox, under the MIT License
If you set this to true, trimming will be enabled when you publish the mod.
Test trimming with: `BuildLinked.ps1` in PowerShell. -->
<RobustILLink>true</RobustILLink>
<TrimmerDefaultAction>link</TrimmerDefaultAction>
</PropertyGroup>
<ItemGroup>
<RobustLinkRoots Include="Reloaded.Utils.Server" />
<RobustLinkRoots Include="MessagePack" />
<RobustLinkRoots Include="Mapster" />
<RobustLinkRoots Include="Mapster.Core" />
<RobustLinkRoots Include="Reloaded.Mod.Loader.Server" />
<!-- Add assemblies to be trimmed. You might need to add their dependencies too! -->
<!-- <RobustLinkAssemblies Include="Reloaded.Memory" /> -->
</ItemGroup>
<ItemGroup>
<PublishReadyToRunExclude Include="MessagePack.dll" />
<PublishReadyToRunExclude Include="Mapster.dll" />
<PublishReadyToRunExclude Include="Mapster.Core.dll" />
<PublishReadyToRunExclude Include="Reloaded.Mod.Loader.Server.dll" />
</ItemGroup>
<Import Project="Robust.Trimming.targets" />
<ItemGroup>
<None Remove="ModConfig.json" />
<None Remove="Preview.png" />
<None Remove="Publish.ps1" />
<None Remove="BuildLinked.ps1" />
<None Remove="Robust.Trimming.targets" />
</ItemGroup>
<ItemGroup>
<Content Include="ModConfig.json">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
</ItemGroup>
<ItemGroup>
<PackageReference Include="Microsoft.NET.ILLink.Tasks" Version="10.0.0" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\Reloaded.Mod.Interfaces\Reloaded.Mod.Interfaces.csproj" />
<ProjectReference Include="..\..\Reloaded.Mod.Loader.Server\Reloaded.Mod.Loader.Server.csproj" />
</ItemGroup>
</Project>