build: scoped OTOPCUA0001 NoWarn in 13 test projects, error under src/, pin SDK via global.json (#595 #606)

Claude-Session: https://claude.ai/code/session_01Ef2ozxS7QPanGT8uoATbTe
This commit is contained in:
Joseph Doherty
2026-10-08 06:47:40 -04:00
parent 3baa332d6b
commit 7aa7758864
15 changed files with 102 additions and 6 deletions
@@ -9,6 +9,12 @@
<RootNamespace>ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.IntegrationTests</RootNamespace>
</PropertyGroup>
<!-- OTOPCUA0001 (#595): these suites call driver capabilities directly at the wire level on purpose;
the CapabilityInvoker-wrapping rule applies to production code only (src/ fails the build on it). -->
<PropertyGroup>
<NoWarn>$(NoWarn);OTOPCUA0001</NoWarn>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="xunit.v3"/>
<PackageReference Include="Shouldly"/>
@@ -9,6 +9,12 @@
<RootNamespace>ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.Tests</RootNamespace>
</PropertyGroup>
<!-- OTOPCUA0001 (#595): these suites call driver capabilities directly at the wire level on purpose;
the CapabilityInvoker-wrapping rule applies to production code only (src/ fails the build on it). -->
<PropertyGroup>
<NoWarn>$(NoWarn);OTOPCUA0001</NoWarn>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="xunit.v3"/>
<PackageReference Include="Shouldly"/>
@@ -9,6 +9,12 @@
<RootNamespace>ZB.MOM.WW.OtOpcUa.Driver.Calculation.Tests</RootNamespace>
</PropertyGroup>
<!-- OTOPCUA0001 (#595): these suites call driver capabilities directly at the wire level on purpose;
the CapabilityInvoker-wrapping rule applies to production code only (src/ fails the build on it). -->
<PropertyGroup>
<NoWarn>$(NoWarn);OTOPCUA0001</NoWarn>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="xunit.v3"/>
<PackageReference Include="Shouldly"/>
@@ -9,6 +9,12 @@
<RootNamespace>ZB.MOM.WW.OtOpcUa.Driver.FOCAS.IntegrationTests</RootNamespace>
</PropertyGroup>
<!-- OTOPCUA0001 (#595): these suites call driver capabilities directly at the wire level on purpose;
the CapabilityInvoker-wrapping rule applies to production code only (src/ fails the build on it). -->
<PropertyGroup>
<NoWarn>$(NoWarn);OTOPCUA0001</NoWarn>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="xunit.v3"/>
<PackageReference Include="Shouldly"/>
@@ -9,6 +9,12 @@
<RootNamespace>ZB.MOM.WW.OtOpcUa.Driver.FOCAS.Tests</RootNamespace>
</PropertyGroup>
<!-- OTOPCUA0001 (#595): these suites call driver capabilities directly at the wire level on purpose;
the CapabilityInvoker-wrapping rule applies to production code only (src/ fails the build on it). -->
<PropertyGroup>
<NoWarn>$(NoWarn);OTOPCUA0001</NoWarn>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="xunit.v3"/>
<PackageReference Include="Shouldly"/>
@@ -9,6 +9,12 @@
<RootNamespace>ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Tests</RootNamespace>
</PropertyGroup>
<!-- OTOPCUA0001 (#595): these suites call driver capabilities directly at the wire level on purpose;
the CapabilityInvoker-wrapping rule applies to production code only (src/ fails the build on it). -->
<PropertyGroup>
<NoWarn>$(NoWarn);OTOPCUA0001</NoWarn>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="xunit.v3"/>
<PackageReference Include="Shouldly"/>
@@ -9,6 +9,12 @@
<RootNamespace>ZB.MOM.WW.OtOpcUa.Driver.Modbus.IntegrationTests</RootNamespace>
</PropertyGroup>
<!-- OTOPCUA0001 (#595): these suites call driver capabilities directly at the wire level on purpose;
the CapabilityInvoker-wrapping rule applies to production code only (src/ fails the build on it). -->
<PropertyGroup>
<NoWarn>$(NoWarn);OTOPCUA0001</NoWarn>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="xunit.v3"/>
<PackageReference Include="Shouldly"/>
@@ -9,6 +9,12 @@
<RootNamespace>ZB.MOM.WW.OtOpcUa.Driver.Modbus.Tests</RootNamespace>
</PropertyGroup>
<!-- OTOPCUA0001 (#595): these suites call driver capabilities directly at the wire level on purpose;
the CapabilityInvoker-wrapping rule applies to production code only (src/ fails the build on it). -->
<PropertyGroup>
<NoWarn>$(NoWarn);OTOPCUA0001</NoWarn>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="xunit.v3"/>
<PackageReference Include="Shouldly"/>
@@ -9,6 +9,12 @@
<RootNamespace>ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Tests</RootNamespace>
</PropertyGroup>
<!-- OTOPCUA0001 (#595): these suites call driver capabilities directly at the wire level on purpose;
the CapabilityInvoker-wrapping rule applies to production code only (src/ fails the build on it). -->
<PropertyGroup>
<NoWarn>$(NoWarn);OTOPCUA0001</NoWarn>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="xunit.v3"/>
<PackageReference Include="Shouldly"/>
@@ -9,6 +9,12 @@
<RootNamespace>ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.IntegrationTests</RootNamespace>
</PropertyGroup>
<!-- OTOPCUA0001 (#595): these suites call driver capabilities directly at the wire level on purpose;
the CapabilityInvoker-wrapping rule applies to production code only (src/ fails the build on it). -->
<PropertyGroup>
<NoWarn>$(NoWarn);OTOPCUA0001</NoWarn>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="xunit.v3"/>
<PackageReference Include="Shouldly"/>
@@ -9,6 +9,12 @@
<RootNamespace>ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Tests</RootNamespace>
</PropertyGroup>
<!-- OTOPCUA0001 (#595): these suites call driver capabilities directly at the wire level on purpose;
the CapabilityInvoker-wrapping rule applies to production code only (src/ fails the build on it). -->
<PropertyGroup>
<NoWarn>$(NoWarn);OTOPCUA0001</NoWarn>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="xunit.v3"/>
<PackageReference Include="Shouldly"/>
@@ -9,6 +9,12 @@
<RootNamespace>ZB.MOM.WW.OtOpcUa.Driver.TwinCAT.IntegrationTests</RootNamespace>
</PropertyGroup>
<!-- OTOPCUA0001 (#595): these suites call driver capabilities directly at the wire level on purpose;
the CapabilityInvoker-wrapping rule applies to production code only (src/ fails the build on it). -->
<PropertyGroup>
<NoWarn>$(NoWarn);OTOPCUA0001</NoWarn>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="xunit.v3"/>
<PackageReference Include="Shouldly"/>
@@ -9,6 +9,12 @@
<RootNamespace>ZB.MOM.WW.OtOpcUa.Driver.TwinCAT.Tests</RootNamespace>
</PropertyGroup>
<!-- OTOPCUA0001 (#595): these suites call driver capabilities directly at the wire level on purpose;
the CapabilityInvoker-wrapping rule applies to production code only (src/ fails the build on it). -->
<PropertyGroup>
<NoWarn>$(NoWarn);OTOPCUA0001</NoWarn>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="xunit.v3"/>
<PackageReference Include="Shouldly"/>