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

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

    <ItemGroup>
        <None Remove="quest-v1.json"/>
        <EmbeddedResource Include="quest-v1.json">
            <LogicalName>Questionable.QuestPaths.QuestSchema</LogicalName>
        </EmbeddedResource>
    </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"/>
        <AdditionalFiles Include="quest-v1.json"/>
    </ItemGroup>

    <ItemGroup>
      <Folder Include="5.x - Shadowbringers\MSQ\A2-Kholusia1\" />
      <Folder Include="5.x - Shadowbringers\MSQ\A3-AmhAreng1\" />
      <Folder Include="5.x - Shadowbringers\MSQ\A4 - Crystarium 2\" />
      <Folder Include="5.x - Shadowbringers\MSQ\B-Il Mheg\" />
      <Folder Include="5.x - Shadowbringers\MSQ\C-Rak'tika\" />
    </ItemGroup>
</Project>