<Project Sdk="Microsoft.NET.Sdk">
    <PropertyGroup>
        <TargetFramework>net8.0-windows</TargetFramework>
        <LangVersion>12</LangVersion>
        <Nullable>enable</Nullable>
        <RootNamespace>Questionable.GatheringPaths</RootNamespace>
        <CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
        <RestorePackagesWithLockFile>true</RestorePackagesWithLockFile>
        <DebugType>none</DebugType>
        <PathMap Condition="$(SolutionDir) != ''">$(SolutionDir)=X:\</PathMap>
        <EmitCompilerGeneratedFiles>true</EmitCompilerGeneratedFiles>
        <Platforms>x64</Platforms>
    </PropertyGroup>

    <ItemGroup>
        <ProjectReference Include="..\Questionable.Model\Questionable.Model.csproj" />
        <ProjectReference Include="..\QuestPathGenerator\QuestPathGenerator.csproj" OutputItemType="Analyzer" ReferenceOutputAssembly="false" />
    </ItemGroup>

    <ItemGroup>
        <None Remove="gatheringlocation-v1.json" />
        <EmbeddedResource Include="gatheringlocation-v1.json">
            <LogicalName>Questionable.GatheringPaths.GatheringLocationSchema</LogicalName>
        </EmbeddedResource>
        <AdditionalFiles Include="gatheringlocation-v1.json" />
        <AdditionalFiles Include="..\Questionable.Model\common-schema.json" />
        <AdditionalFiles Include="..\QuestPaths\quest-v1.json" />
    </ItemGroup>

    <ItemGroup Condition="'$(Configuration)' == 'Release'">
        <None Remove="2.x - A Realm Reborn" />
        <None Remove="3.x - Heavensward" />
        <None Remove="4.x - Stormblood" />
        <None Remove="5.x - Shadowbringers" />
        <None Remove="6.x - Endwalker" />
        <None Remove="7.x - Dawntrail" />
        <AdditionalFiles Include="2.x - A Realm Reborn\**\*.json" />
        <AdditionalFiles Include="3.x - Heavensward\**\*.json" />
        <AdditionalFiles Include="4.x - Stormblood\**\*.json" />
        <AdditionalFiles Include="5.x - Shadowbringers\**\*.json" />
        <AdditionalFiles Include="6.x - Endwalker\**\*.json" />
        <AdditionalFiles Include="7.x - Dawntrail\**\*.json" />
    </ItemGroup>
</Project>