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

  <PropertyGroup>
    <OutputType>Exe</OutputType>
    <TargetFramework>net10.0</TargetFramework>
    <ImplicitUsings>enable</ImplicitUsings>
    <Nullable>enable</Nullable>
    <LangVersion>latest</LangVersion>
    <TreatWarningsAsErrors>false</TreatWarningsAsErrors>
    <GenerateDocumentationFile>false</GenerateDocumentationFile>
  </PropertyGroup>

  <ItemGroup>
    <!-- Same Roslyn version the repo pins (Directory.Packages.props => 4.12.0, CPM). -->
    <PackageReference Include="Microsoft.CodeAnalysis.CSharp.Scripting" />
  </ItemGroup>

  <ItemGroup>
    <ProjectReference Include="..\LeanContext\LeanContext.csproj" />
    <!-- After A0: VirtualTagContext + ScriptGlobals live in Core.Scripting.Abstractions
         (Roslyn-free). We reference that directly so typeof(VirtualTagContext).Assembly
         resolves to the lean assembly — the key invariant the probe is verifying. -->
    <ProjectReference Include="..\..\..\src\Core\ZB.MOM.WW.OtOpcUa.Core.Scripting.Abstractions\ZB.MOM.WW.OtOpcUa.Core.Scripting.Abstractions.csproj" />
  </ItemGroup>

</Project>
