2022-10-23 02:38:58 +00:00
|
|
|
|
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
|
|
|
|
|
|
<PropertyGroup>
|
2023-01-11 17:41:57 +00:00
|
|
|
|
<TargetFramework>net7.0-windows</TargetFramework>
|
2023-01-15 21:53:02 +00:00
|
|
|
|
<LangVersion>11.0</LangVersion>
|
2022-10-30 10:02:49 +00:00
|
|
|
|
<Nullable>enable</Nullable>
|
2023-02-15 09:46:04 +00:00
|
|
|
|
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
|
2022-10-23 02:38:58 +00:00
|
|
|
|
</PropertyGroup>
|
|
|
|
|
|
|
|
|
|
<PropertyGroup>
|
|
|
|
|
<ProduceReferenceAssembly>false</ProduceReferenceAssembly>
|
|
|
|
|
<PlatformTarget>x64</PlatformTarget>
|
|
|
|
|
<AssemblyName>Palace Pal</AssemblyName>
|
|
|
|
|
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
|
2022-10-23 15:42:16 +00:00
|
|
|
|
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
|
2023-02-15 12:00:00 +00:00
|
|
|
|
<AppendRuntimeIdentifierToOutputPath>false</AppendRuntimeIdentifierToOutputPath>
|
2022-11-25 08:43:24 +00:00
|
|
|
|
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
2023-02-16 19:40:32 +00:00
|
|
|
|
<DebugType>portable</DebugType>
|
2023-02-17 17:36:22 +00:00
|
|
|
|
<PathMap Condition="$(SolutionDir) != ''">$(SolutionDir)=X:\</PathMap>
|
2023-02-21 15:04:51 +00:00
|
|
|
|
<GitVersion>false</GitVersion>
|
|
|
|
|
<GenerateAssemblyVersionAttribute>false</GenerateAssemblyVersionAttribute>
|
|
|
|
|
<GenerateAssemblyFileVersionAttribute>false</GenerateAssemblyFileVersionAttribute>
|
|
|
|
|
<GenerateAssemblyInformationalVersionAttribute>false</GenerateAssemblyInformationalVersionAttribute>
|
2022-10-23 15:42:16 +00:00
|
|
|
|
</PropertyGroup>
|
|
|
|
|
|
|
|
|
|
<PropertyGroup Condition="'$(Configuration)' == 'Release'">
|
|
|
|
|
<OutputPath>dist</OutputPath>
|
2022-10-23 02:38:58 +00:00
|
|
|
|
</PropertyGroup>
|
|
|
|
|
|
2022-10-30 21:35:42 +00:00
|
|
|
|
<ItemGroup Condition="'$(Configuration)' == 'Release' And Exists('Certificate.pfx')">
|
2023-02-16 18:51:54 +00:00
|
|
|
|
<None Remove="Certificate.pfx" />
|
2022-10-30 21:35:42 +00:00
|
|
|
|
</ItemGroup>
|
|
|
|
|
|
|
|
|
|
<ItemGroup Condition="'$(Configuration)' == 'Release' And Exists('Certificate.pfx')">
|
2023-02-16 18:51:54 +00:00
|
|
|
|
<EmbeddedResource Include="Certificate.pfx" />
|
2022-10-30 21:35:42 +00:00
|
|
|
|
</ItemGroup>
|
|
|
|
|
|
2022-10-23 02:38:58 +00:00
|
|
|
|
<ItemGroup>
|
2023-01-11 17:41:57 +00:00
|
|
|
|
<PackageReference Include="DalamudPackager" Version="2.1.10" />
|
2023-02-25 14:32:26 +00:00
|
|
|
|
<PackageReference Include="Dalamud.Extensions.MicrosoftLogging" Version="1.0.0" />
|
2022-12-22 01:04:31 +00:00
|
|
|
|
<PackageReference Include="Google.Protobuf" Version="3.21.12" />
|
2023-01-11 17:41:57 +00:00
|
|
|
|
<PackageReference Include="Grpc.Net.Client" Version="2.51.0" />
|
2023-02-21 15:14:56 +00:00
|
|
|
|
<PackageReference Include="GitInfo" Version="2.3.0">
|
|
|
|
|
<PrivateAssets>all</PrivateAssets>
|
|
|
|
|
</PackageReference>
|
2022-12-22 01:04:31 +00:00
|
|
|
|
<PackageReference Include="Grpc.Tools" Version="2.51.0">
|
2022-10-23 02:38:58 +00:00
|
|
|
|
<PrivateAssets>all</PrivateAssets>
|
|
|
|
|
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
|
|
|
|
</PackageReference>
|
2023-02-15 09:46:04 +00:00
|
|
|
|
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="7.0.3" />
|
|
|
|
|
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="7.0.3">
|
|
|
|
|
<PrivateAssets>all</PrivateAssets>
|
|
|
|
|
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
|
|
|
|
</PackageReference>
|
2022-11-30 12:53:03 +00:00
|
|
|
|
<PackageReference Include="Microsoft.Extensions.Logging" Version="7.0.0" />
|
2023-02-15 09:46:04 +00:00
|
|
|
|
<PackageReference Include="System.Security.Cryptography.ProtectedData" Version="7.0.1" />
|
2022-10-23 02:38:58 +00:00
|
|
|
|
</ItemGroup>
|
|
|
|
|
|
|
|
|
|
<ItemGroup>
|
2022-10-26 18:43:24 +00:00
|
|
|
|
<ProjectReference Include="..\Pal.Common\Pal.Common.csproj" />
|
2022-10-23 02:38:58 +00:00
|
|
|
|
<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" />
|
2022-12-21 19:23:48 +00:00
|
|
|
|
<Protobuf Include="..\Pal.Common\Protos\export.proto" Link="Protos\export.proto" GrpcServices="Client" Access="Internal" />
|
2022-10-23 02:38:58 +00:00
|
|
|
|
</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>
|
2023-02-16 18:51:54 +00:00
|
|
|
|
<Private Condition="'$(Configuration)' != 'EF'">false</Private>
|
2022-10-23 02:38:58 +00:00
|
|
|
|
</Reference>
|
|
|
|
|
<Reference Include="ImGui.NET">
|
|
|
|
|
<HintPath>$(AppData)\XIVLauncher\addon\Hooks\dev\ImGui.NET.dll</HintPath>
|
2023-02-16 18:51:54 +00:00
|
|
|
|
<Private Condition="'$(Configuration)' != 'EF'">false</Private>
|
2022-10-23 02:38:58 +00:00
|
|
|
|
</Reference>
|
|
|
|
|
<Reference Include="ImGuiScene">
|
|
|
|
|
<HintPath>$(AppData)\XIVLauncher\addon\Hooks\dev\ImGuiScene.dll</HintPath>
|
2023-02-16 18:51:54 +00:00
|
|
|
|
<Private Condition="'$(Configuration)' != 'EF'">false</Private>
|
2022-10-23 02:38:58 +00:00
|
|
|
|
</Reference>
|
|
|
|
|
<Reference Include="Lumina">
|
|
|
|
|
<HintPath>$(AppData)\XIVLauncher\addon\Hooks\dev\Lumina.dll</HintPath>
|
2023-02-16 18:51:54 +00:00
|
|
|
|
<Private Condition="'$(Configuration)' != 'EF'">false</Private>
|
2022-10-23 02:38:58 +00:00
|
|
|
|
</Reference>
|
|
|
|
|
<Reference Include="Lumina.Excel">
|
|
|
|
|
<HintPath>$(AppData)\XIVLauncher\addon\Hooks\dev\Lumina.Excel.dll</HintPath>
|
2023-02-16 18:51:54 +00:00
|
|
|
|
<Private Condition="'$(Configuration)' != 'EF'">false</Private>
|
2022-10-23 02:38:58 +00:00
|
|
|
|
</Reference>
|
|
|
|
|
<Reference Include="Newtonsoft.Json">
|
|
|
|
|
<HintPath>$(AppData)\XIVLauncher\addon\Hooks\dev\Newtonsoft.Json.dll</HintPath>
|
2023-02-16 18:51:54 +00:00
|
|
|
|
<Private Condition="'$(Configuration)' != 'EF'">false</Private>
|
2022-10-23 02:38:58 +00:00
|
|
|
|
</Reference>
|
|
|
|
|
<Reference Include="FFXIVClientStructs">
|
|
|
|
|
<HintPath>$(AppData)\XIVLauncher\addon\Hooks\dev\FFXIVClientStructs.dll</HintPath>
|
2023-02-16 18:51:54 +00:00
|
|
|
|
<Private Condition="'$(Configuration)' != 'EF'">false</Private>
|
2022-10-23 02:38:58 +00:00
|
|
|
|
</Reference>
|
2023-02-17 12:57:12 +00:00
|
|
|
|
<Reference Include="Serilog">
|
|
|
|
|
<HintPath>$(AppData)\XIVLauncher\addon\Hooks\dev\Serilog.dll</HintPath>
|
|
|
|
|
<Private Condition="'$(Configuration)' != 'EF'">false</Private>
|
|
|
|
|
</Reference>
|
2022-10-23 02:38:58 +00:00
|
|
|
|
</ItemGroup>
|
|
|
|
|
|
2023-02-10 19:48:14 +00:00
|
|
|
|
<ItemGroup>
|
2023-02-16 18:51:54 +00:00
|
|
|
|
<EmbeddedResource Update="Properties\Localization.resx">
|
|
|
|
|
<Generator>ResXFileCodeGenerator</Generator>
|
|
|
|
|
<LastGenOutput>Localization.Designer.cs</LastGenOutput>
|
|
|
|
|
</EmbeddedResource>
|
|
|
|
|
<Compile Update="Properties\Localization.Designer.cs">
|
|
|
|
|
<DesignTime>True</DesignTime>
|
|
|
|
|
<AutoGen>True</AutoGen>
|
|
|
|
|
<DependentUpon>Localization.resx</DependentUpon>
|
|
|
|
|
</Compile>
|
2023-02-10 19:48:14 +00:00
|
|
|
|
</ItemGroup>
|
|
|
|
|
|
2023-02-21 15:04:51 +00:00
|
|
|
|
<Target Name="PopulateInfo" DependsOnTargets="GitVersion" BeforeTargets="GetAssemblyVersion;GenerateNuspec;GetPackageContents">
|
|
|
|
|
<PropertyGroup>
|
|
|
|
|
<Version>$(GitSemVerMajor).$(GitSemVerMinor)</Version>
|
|
|
|
|
<PackageVersion>$(Version)</PackageVersion>
|
|
|
|
|
</PropertyGroup>
|
|
|
|
|
</Target>
|
2023-02-21 15:30:16 +00:00
|
|
|
|
|
2023-02-16 18:51:54 +00:00
|
|
|
|
<Target Name="RenameLatestZip" AfterTargets="PackagePlugin" Condition="'$(Configuration)' == 'Release'">
|
2022-11-30 11:49:46 +00:00
|
|
|
|
<Exec Command="rename "$(OutDir)$(AssemblyName)\latest.zip" "$(AssemblyName)-$(Version).zip"" />
|
|
|
|
|
</Target>
|
|
|
|
|
|
2023-02-16 18:51:54 +00:00
|
|
|
|
<Target Name="Clean">
|
|
|
|
|
<RemoveDir Directories="dist" />
|
|
|
|
|
</Target>
|
2022-10-23 02:38:58 +00:00
|
|
|
|
</Project>
|