-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPlugin.csproj
More file actions
56 lines (49 loc) · 2.09 KB
/
Plugin.csproj
File metadata and controls
56 lines (49 loc) · 2.09 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
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net10.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<GenerateAssemblyInfo>true</GenerateAssemblyInfo>
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
<AssemblyName>MessagePulse</AssemblyName>
<OutputPath>$(MSBuildThisFileDirectory)build/</OutputPath>
<PublishDir>$(OutputPath)publish/MessagePulse</PublishDir>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="10.0.0"
ExcludeAssets="runtime" PrivateAssets="all" />
<PackageReference Include="Microsoft.Extensions.Configuration" Version="10.0.0"
ExcludeAssets="runtime" PrivateAssets="all" />
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="10.0.0"
ExcludeAssets="runtime" PrivateAssets="all" />
<PackageReference Include="Microsoft.Extensions.Configuration.Binder" Version="10.0.0"
ExcludeAssets="runtime" PrivateAssets="all" />
<PackageReference Include="Microsoft.Extensions.Logging" Version="10.0.0"
ExcludeAssets="runtime" PrivateAssets="all" />
<PackageReference Include="SwDevtools" Version="0.0.1" />
<PackageReference Include="SwiftlyS2.CS2" Version="*-*" ExcludeAssets="runtime"
PrivateAssets="all" />
</ItemGroup>
<!-- Placeholder API -->
<ItemGroup>
<Reference Include="PlaceholderAPI.Contract">
<HintPath>resources/exports/PlaceholderAPI.Contract/PlaceholderAPI.Contract.dll</HintPath>
<Private>false</Private>
<CopyLocal>false</CopyLocal>
</Reference>
</ItemGroup>
<ItemGroup>
<Content
Include="resources/gamedata/**/*;resources/configs/**/*;resources/translations/**/*">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
</ItemGroup>
<Target Name="CreateZip" AfterTargets="Publish">
<ItemGroup>
<PublishFiles Include="$(PublishDir)**\*.*" />
</ItemGroup>
<ZipDirectory SourceDirectory="$(PublishDir)../"
DestinationFile="$(OutputPath)../$(AssemblyName).zip" Overwrite="true" />
</Target>
</Project>