8c0a32025d
Move WonderwareHistorianClientOptions to a new Driver.Historian.Wonderware.Client.Contracts sibling project. The record had no using directives and uses only primitive types (string, TimeSpan) so the contracts project is dependency-free. Convert one doc-comment reference: <see cref="WonderwareHistorianClient"/> → <c>WonderwareHistorianClient</c> per the approved decision — no compilable usings were present. The runtime Driver.Historian.Wonderware.Client project gains a ProjectReference to .Contracts; the .slnx is updated accordingly.
46 lines
2.2 KiB
XML
46 lines
2.2 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
<PropertyGroup>
|
|
<TargetFramework>net10.0</TargetFramework>
|
|
<Platforms>AnyCPU;x64</Platforms>
|
|
<Nullable>enable</Nullable>
|
|
<ImplicitUsings>enable</ImplicitUsings>
|
|
<LangVersion>latest</LangVersion>
|
|
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
|
|
<GenerateDocumentationFile>true</GenerateDocumentationFile>
|
|
<NoWarn>$(NoWarn);CS1591</NoWarn>
|
|
<RootNamespace>ZB.MOM.WW.OtOpcUa.Driver.Historian.Wonderware.Client</RootNamespace>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="MessagePack"/>
|
|
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions"/>
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\ZB.MOM.WW.OtOpcUa.Driver.Historian.Wonderware.Client.Contracts\ZB.MOM.WW.OtOpcUa.Driver.Historian.Wonderware.Client.Contracts.csproj"/>
|
|
<ProjectReference Include="..\..\Core\ZB.MOM.WW.OtOpcUa.Core.Abstractions\ZB.MOM.WW.OtOpcUa.Core.Abstractions.csproj"/>
|
|
<ProjectReference Include="..\..\Core\ZB.MOM.WW.OtOpcUa.Core.AlarmHistorian\ZB.MOM.WW.OtOpcUa.Core.AlarmHistorian.csproj"/>
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<InternalsVisibleTo Include="ZB.MOM.WW.OtOpcUa.Driver.Historian.Wonderware.Client.Tests"/>
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<!--
|
|
GHSA-37gx-xxp4-5rgx (MessagePack — unsafe deserialization via dynamic code generation)
|
|
GHSA-w3x6-4m5h-cxqf (MessagePack — TypelessContractlessStandardResolver gadget chain)
|
|
|
|
Neither advisory applies to this module's usage: all deserialization here uses the
|
|
default StandardResolver (primitive types only). TypelessContractlessStandardResolver
|
|
is never referenced and no DynamicUnion / DynamicGenericResolver is registered.
|
|
DeserializeSampleValue() enforces a 64 KiB per-sample ValueBytes cap (finding 007).
|
|
Revisit once MessagePack 3.x is available and drop these suppressions at that time.
|
|
-->
|
|
<NuGetAuditSuppress Include="https://github.com/advisories/GHSA-37gx-xxp4-5rgx"/>
|
|
<NuGetAuditSuppress Include="https://github.com/advisories/GHSA-w3x6-4m5h-cxqf"/>
|
|
</ItemGroup>
|
|
|
|
</Project>
|