91 lines
3.4 KiB
XML
91 lines
3.4 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
<PropertyGroup>
|
|
<TargetFramework>net6.0-windows</TargetFramework>
|
|
<LangVersion>9.0</LangVersion>
|
|
<Version>1.20</Version>
|
|
<Nullable>enable</Nullable>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup>
|
|
<ProduceReferenceAssembly>false</ProduceReferenceAssembly>
|
|
<PlatformTarget>x64</PlatformTarget>
|
|
<AssemblyName>Palace Pal</AssemblyName>
|
|
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
|
|
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
|
|
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Condition="'$(Configuration)' == 'Release'">
|
|
<OutputPath>dist</OutputPath>
|
|
<DebugType>none</DebugType>
|
|
<DebugSymbols>false</DebugSymbols>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup Condition="'$(Configuration)' == 'Release' And Exists('Certificate.pfx')">
|
|
<None Remove="Certificate.pfx" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup Condition="'$(Configuration)' == 'Release' And Exists('Certificate.pfx')">
|
|
<EmbeddedResource Include="Certificate.pfx" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="DalamudPackager" Version="2.1.8" />
|
|
<PackageReference Include="Google.Protobuf" Version="3.21.9" />
|
|
<PackageReference Include="Grpc.Net.Client" Version="2.50.0" />
|
|
<PackageReference Include="Grpc.Tools" Version="2.50.0">
|
|
<PrivateAssets>all</PrivateAssets>
|
|
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
|
</PackageReference>
|
|
<PackageReference Include="Microsoft.Extensions.Logging" Version="7.0.0" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\Pal.Common\Pal.Common.csproj" />
|
|
<ProjectReference Include="..\vendor\ECommons\ECommons\ECommons.csproj" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<Protobuf Include="..\Pal.Common\Protos\account.proto" Link="Protos\account.proto" GrpcServices="Client" Access="Internal" />
|
|
<Protobuf Include="..\Pal.Common\Protos\palace.proto" Link="Protos\palace.proto" GrpcServices="Client" Access="Internal" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<!--You may need to adjust these paths yourself. These point to a Dalamud assembly in AppData.-->
|
|
<Reference Include="Dalamud">
|
|
<HintPath>$(AppData)\XIVLauncher\addon\Hooks\dev\Dalamud.dll</HintPath>
|
|
<Private>false</Private>
|
|
</Reference>
|
|
<Reference Include="ImGui.NET">
|
|
<HintPath>$(AppData)\XIVLauncher\addon\Hooks\dev\ImGui.NET.dll</HintPath>
|
|
<Private>false</Private>
|
|
</Reference>
|
|
<Reference Include="ImGuiScene">
|
|
<HintPath>$(AppData)\XIVLauncher\addon\Hooks\dev\ImGuiScene.dll</HintPath>
|
|
<Private>false</Private>
|
|
</Reference>
|
|
<Reference Include="Lumina">
|
|
<HintPath>$(AppData)\XIVLauncher\addon\Hooks\dev\Lumina.dll</HintPath>
|
|
<Private>false</Private>
|
|
</Reference>
|
|
<Reference Include="Lumina.Excel">
|
|
<HintPath>$(AppData)\XIVLauncher\addon\Hooks\dev\Lumina.Excel.dll</HintPath>
|
|
<Private>false</Private>
|
|
</Reference>
|
|
<Reference Include="Newtonsoft.Json">
|
|
<HintPath>$(AppData)\XIVLauncher\addon\Hooks\dev\Newtonsoft.Json.dll</HintPath>
|
|
<Private>false</Private>
|
|
</Reference>
|
|
<Reference Include="FFXIVClientStructs">
|
|
<HintPath>$(AppData)\XIVLauncher\addon\Hooks\dev\FFXIVClientStructs.dll</HintPath>
|
|
<Private>false</Private>
|
|
</Reference>
|
|
</ItemGroup>
|
|
|
|
<Target Name="RenameLatestZip" AfterTargets="PackagePlugin">
|
|
<Exec Command="rename "$(OutDir)$(AssemblyName)\latest.zip" "$(AssemblyName)-$(Version).zip"" />
|
|
</Target>
|
|
|
|
</Project>
|