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:
+6
@@ -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"/>
|
||||
|
||||
+6
@@ -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"/>
|
||||
|
||||
+6
@@ -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"/>
|
||||
|
||||
+6
@@ -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"/>
|
||||
|
||||
+6
@@ -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"/>
|
||||
|
||||
+6
@@ -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"/>
|
||||
|
||||
+6
@@ -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"/>
|
||||
|
||||
+6
@@ -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"/>
|
||||
|
||||
+6
@@ -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"/>
|
||||
|
||||
+6
@@ -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"/>
|
||||
|
||||
+6
@@ -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"/>
|
||||
|
||||
+6
@@ -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"/>
|
||||
|
||||
+6
@@ -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"/>
|
||||
|
||||
Reference in New Issue
Block a user