68 lines
2.8 KiB
XML
68 lines
2.8 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
<PropertyGroup>
|
|
<TargetFramework>net7.0-windows</TargetFramework>
|
|
<Version>4.1</Version>
|
|
<LangVersion>11.0</LangVersion>
|
|
<Nullable>enable</Nullable>
|
|
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
|
|
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
|
|
<AppendRuntimeIdentifierToOutputPath>false</AppendRuntimeIdentifierToOutputPath>
|
|
<OutputPath>dist</OutputPath>
|
|
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
|
<DebugType>portable</DebugType>
|
|
<PathMap Condition="$(SolutionDir) != ''">$(SolutionDir)=X:\</PathMap>
|
|
<RestorePackagesWithLockFile>true</RestorePackagesWithLockFile>
|
|
<DebugType>portable</DebugType>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup>
|
|
<DalamudLibPath>$(appdata)\XIVLauncher\addon\Hooks\dev\</DalamudLibPath>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Condition="'$([System.Runtime.InteropServices.RuntimeInformation]::IsOSPlatform($([System.Runtime.InteropServices.OSPlatform]::Linux)))'">
|
|
<DalamudLibPath>$(DALAMUD_HOME)/</DalamudLibPath>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\AutoRetainerAPI\AutoRetainerAPI\AutoRetainerAPI.csproj"/>
|
|
<ProjectReference Include="..\ECommons\ECommons\ECommons.csproj"/>
|
|
<ProjectReference Include="..\LLib\LLib.csproj"/>
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="Dalamud.ContextMenu" Version="1.3.1"/>
|
|
<PackageReference Include="DalamudPackager" Version="2.1.12"/>
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<Reference Include="Dalamud">
|
|
<HintPath>$(DalamudLibPath)Dalamud.dll</HintPath>
|
|
<Private>false</Private>
|
|
</Reference>
|
|
<Reference Include="ImGui.NET">
|
|
<HintPath>$(DalamudLibPath)ImGui.NET.dll</HintPath>
|
|
<Private>false</Private>
|
|
</Reference>
|
|
<Reference Include="Lumina">
|
|
<HintPath>$(DalamudLibPath)Lumina.dll</HintPath>
|
|
<Private>false</Private>
|
|
</Reference>
|
|
<Reference Include="Lumina.Excel">
|
|
<HintPath>$(DalamudLibPath)Lumina.Excel.dll</HintPath>
|
|
<Private>false</Private>
|
|
</Reference>
|
|
<Reference Include="Newtonsoft.Json">
|
|
<HintPath>$(DalamudLibPath)Newtonsoft.Json.dll</HintPath>
|
|
<Private>false</Private>
|
|
</Reference>
|
|
<Reference Include="FFXIVClientStructs">
|
|
<HintPath>$(DalamudLibPath)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>
|