<Project Sdk="Microsoft.NET.Sdk">

  <PropertyGroup>
    <TargetFramework>net8.0-windows</TargetFramework>
    <OutputType>Library</OutputType>
    <RootNamespace>StandardScene.Magnetic</RootNamespace>
    <AssemblyName>StandardScene.Magnetic</AssemblyName>
    <LangVersion>latest</LangVersion>
    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
    <Platforms>AnyCPU;x64</Platforms>
    <PlatformTarget>x64</PlatformTarget>
    <Deterministic>true</Deterministic>
    <GenerateAssemblyInfo>false</GenerateAssemblyInfo>
    <ImplicitUsings>disable</ImplicitUsings>
    <Nullable>disable</Nullable>
    <AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
    <NoWarn>$(NoWarn);NU1701;CS0618;CS0612;MSB3277;CA1416</NoWarn>
    <AssemblySearchPaths>{HintPathFromItem};{TargetFrameworkDirectory};{RawFileName};{GAC}</AssemblySearchPaths>
  </PropertyGroup>

  <!-- 插件清单：随 dll 输出，供 SimpleLite plugins 选择性加载（约定 <dll>.scene.json） -->
  <ItemGroup>
    <None Update="StandardScene.Magnetic.scene.json" CopyToOutputDirectory="PreserveNewest" />
  </ItemGroup>

  <!-- 基座：车型基类字段袋 / 通用 coder / 任务调度等留 Core；本 dll 为 scene.mag 平台（磁导航车型 + 磁循迹 coder） -->
  <ItemGroup>
    <ProjectReference Include="..\StandardScene.Core\StandardScene.Core.csproj" />
  </ItemGroup>

  <ItemGroup>
    <Reference Include="SimpleLite">
      <HintPath>E:\Work\Core\Simple-FR\Simple\SimpleLite\bin\Debug\SimpleLite.dll</HintPath>
    </Reference>
    <Reference Include="SimpleCore">
      <HintPath>E:\Work\Core\Simple-FR\Simple\SimpleCore\bin\Debug\netstandard2.0\SimpleCore.dll</HintPath>
    </Reference>
    <Reference Include="CommonUsage">
      <HintPath>D:\MDCS\Dependencies\Commons\CommonUsage.dll</HintPath>
    </Reference>
    <Reference Include="Topaz">
      <HintPath>E:\Work\Core\Simple-FR\Simple\tools\Topaz.dll</HintPath>
    </Reference>
    <Reference Include="LessokajiWeaverUtilities">
      <HintPath>E:\Work\Core\Simple-FR\Simple\SimpleLite\bin\Debug\LessokajiWeaverUtilities.dll</HintPath>
    </Reference>
  </ItemGroup>

  <ItemGroup>
    <PackageReference Include="Newtonsoft.Json" Version="13.0.4" />
  </ItemGroup>

</Project>
