-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathVortex.Adapter.csproj
More file actions
46 lines (36 loc) · 1.64 KB
/
Vortex.Adapter.csproj
File metadata and controls
46 lines (36 loc) · 1.64 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
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net9.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<AssemblyName>Vortex.Adapter</AssemblyName>
<RootNamespace>Vortex.Adapter</RootNamespace>
</PropertyGroup>
<Target Name="EmbedNuGetDlls" AfterTargets="ResolveReferences">
<ItemGroup>
<EmbedNuGetDllsList Include="$(EmbedNuGetDlls.Split(';'))" />
<DllsToEmbed Include="@(ReferencePath)"
Condition="$([System.String]::new(';$(EmbedNuGetDlls);').Contains(';%(FileName)%(Extension);'))" />
<EmbeddedResource Include="@(DllsToEmbed)">
<LogicalName>embedded.%(FileName)%(Extension)</LogicalName>
</EmbeddedResource>
<EmbeddedDllLog Include="Embedded DLL: %(DllsToEmbed.Filename)%(DllsToEmbed.Extension) as embedded.%(DllsToEmbed.Filename)%(DllsToEmbed.Extension)" />
<ReferenceCopyLocalPaths Remove="@(DllsToEmbed)" />
</ItemGroup>
<Message Text="Embedding @(DllsToEmbed->Count()) DLLs" Importance="high"
Condition="'@(DllsToEmbed->Count())' != '0'" />
<Message Text="@(EmbeddedDllLog)" Importance="high"
Condition="'@(DllsToEmbed->Count())' != '0'" />
</Target>
<PropertyGroup>
<EmbedNuGetDlls>protobuf-net.dll;protobuf-net.Core.dll;SixLabors.ImageSharp.dll</EmbedNuGetDlls>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="SixLabors.ImageSharp" Version="3.1.12" />
<PackageReference Include="TShock" Version="6.1.0" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Vortex.Protocol\Vortex.Protocol.csproj" />
</ItemGroup>
</Project>