36 lines
2.0 KiB
XML
36 lines
2.0 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
<PropertyGroup>
|
|
<TargetFramework>net10.0</TargetFramework>
|
|
<Nullable>enable</Nullable>
|
|
<ImplicitUsings>enable</ImplicitUsings>
|
|
<LangVersion>latest</LangVersion>
|
|
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
|
|
<GenerateDocumentationFile>true</GenerateDocumentationFile>
|
|
<NoWarn>$(NoWarn);CS1591</NoWarn>
|
|
<!-- Assembly is .Dialect; the NAMESPACE stays ZB.MOM.WW.OtOpcUa.Driver.Sql, matching the
|
|
Driver.Mqtt.Transport precedent. The split is a build-graph concern, not an API one, so
|
|
extracting these two types cost zero `using` changes anywhere in the tree. -->
|
|
<RootNamespace>ZB.MOM.WW.OtOpcUa.Driver.Sql</RootNamespace>
|
|
<AssemblyName>ZB.MOM.WW.OtOpcUa.Driver.Sql.Dialect</AssemblyName>
|
|
</PropertyGroup>
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\..\Core\ZB.MOM.WW.OtOpcUa.Core.Abstractions\ZB.MOM.WW.OtOpcUa.Core.Abstractions.csproj" />
|
|
<ProjectReference Include="..\ZB.MOM.WW.OtOpcUa.Driver.Sql.Contracts\ZB.MOM.WW.OtOpcUa.Driver.Sql.Contracts.csproj" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<!-- The reason this project exists rather than the dialect living in .Contracts: ISqlDialect
|
|
exposes DbProviderFactory and SqlServerDialect returns SqlClientFactory.Instance, so the
|
|
provider package is unavoidable here. .Contracts is deliberately provider-free. This is
|
|
the same shape as Driver.Mqtt.Transport, whose BuildClientOptions returns an MQTTnet type.
|
|
PostgresDialect and OracleDialect land here for the same reason, each returning its
|
|
provider's DbProviderFactory (NpgsqlFactory / OracleClientFactory); both packages are fully
|
|
managed ADO.NET drivers, so adding them costs no native client install anywhere. -->
|
|
<PackageReference Include="Microsoft.Data.SqlClient" />
|
|
<PackageReference Include="Npgsql" />
|
|
<PackageReference Include="Oracle.ManagedDataAccess.Core" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<InternalsVisibleTo Include="ZB.MOM.WW.OtOpcUa.Driver.Sql.Tests"/>
|
|
</ItemGroup>
|
|
</Project>
|