-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCustomLoadingScreens.csproj
More file actions
38 lines (34 loc) · 1.53 KB
/
CustomLoadingScreens.csproj
File metadata and controls
38 lines (34 loc) · 1.53 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
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>disable</Nullable>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<Platforms>AnyCPU;x64</Platforms>
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
<PlatformTarget>x64</PlatformTarget>
</PropertyGroup>
<ItemGroup>
<None Remove="Directory.Build.props" />
<None Remove="SetPath.cmd" />
</ItemGroup>
<Target Name="ILRepacker" AfterTargets="Build">
<PropertyGroup>
<WorkingDirectory>$(OutputPath)</WorkingDirectory>
</PropertyGroup>
<ItemGroup>
<InputAssemblies Include="$(OutputPath)\$(AssemblyName).dll" />
<InputAssemblies Include="$(OutputPath)\SixLabors.ImageSharp.dll" />
<IlRepackLibs Include="$(OutputPath)" />
<IlRepackLibs Include="$(MelonNET6)" />
</ItemGroup>
</Target>
<Target Name="ILRepackCopy" AfterTargets="Build" Condition="'$(WORKER)' != 'GitHub'">
<Copy SourceFiles="$(OutputPath)\$(AssemblyName).dll" DestinationFolder="$(GameFolder)\Mods" />
<Message Text="Copied DLL -> $(GameFolder)\Mods\$(ProjectName).dll" Importance="High" />
</Target>
<Target Name="WarnDeprecatedPath" AfterTargets="Build" Condition="!Exists('$(MD_DIRECTORY)')">
<Message Text="Warning: MD_NET6_DIRECTORY is no longer in use. Please remove the environment variable and run SetPath.cmd again." Importance="High" />
</Target>
</Project>