mirror of
https://github.com/OPCFoundation/UA-.NETStandard.git
synced 2026-10-27 04:59:55 +08:00
72 lines
3.6 KiB
XML
72 lines
3.6 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
<PropertyGroup>
|
|
<TargetFrameworks>$(LibCoreTargetFrameworks)</TargetFrameworks>
|
|
<AssemblyName>$(AssemblyPrefix).Core</AssemblyName>
|
|
<PackageId>$(PackagePrefix).Opc.Ua.Core</PackageId>
|
|
<RootNamespace>Opc.Ua</RootNamespace>
|
|
<Description>OPC UA Core Class Library</Description>
|
|
<IsPackable>true</IsPackable>
|
|
<GenerateDocumentationFile>true</GenerateDocumentationFile>
|
|
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
|
<IsAotCompatible Condition="$([MSBuild]::IsTargetFrameworkCompatible('$(TargetFramework)', 'net10.0'))">true</IsAotCompatible>
|
|
<NoWarn>$(NoWarn);MODELGEN002</NoWarn>
|
|
<Nullable>enable</Nullable>
|
|
</PropertyGroup>
|
|
<ItemGroup>
|
|
<InternalsVisibleTo Include="Opc.Ua.Core.Tests" />
|
|
<InternalsVisibleTo Include="Opc.Ua.Core.TestFramework" />
|
|
<InternalsVisibleTo Include="Opc.Ua.Core.Encoders.Tests" />
|
|
<InternalsVisibleTo Include="Opc.Ua.Security.Certificates.Tests" />
|
|
</ItemGroup>
|
|
<PropertyGroup Condition="'$(Configuration)' == 'Debug'">
|
|
<PackageId>$(PackageId).Debug</PackageId>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|net472|AnyCPU'">
|
|
<DefineConstants>$(DefineConstants);OPCUA_CryptoTrace</DefineConstants>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|net48|AnyCPU'">
|
|
<DefineConstants>$(DefineConstants);OPCUA_CryptoTrace</DefineConstants>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|netstandard2.1|AnyCPU'">
|
|
<DefineConstants>$(DefineConstants);OPCUA_CryptoTrace</DefineConstants>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|net8.0|AnyCPU'">
|
|
<DefineConstants>$(DefineConstants);OPCUA_CryptoTrace</DefineConstants>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|net9.0|AnyCPU'">
|
|
<DefineConstants>$(DefineConstants);OPCUA_CryptoTrace</DefineConstants>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|net10.0|AnyCPU'">
|
|
<DefineConstants>$(DefineConstants);OPCUA_CryptoTrace</DefineConstants>
|
|
</PropertyGroup>
|
|
<ItemGroup>
|
|
<PackageReference Include="Microsoft.Extensions.Diagnostics" />
|
|
<PackageReference Include="Microsoft.Extensions.Logging" />
|
|
<PackageReference Include="Microsoft.Bcl.TimeProvider" />
|
|
<PackageReference Include="System.Threading.Channels" />
|
|
<PackageReference Include="BitFaster.Caching" />
|
|
</ItemGroup>
|
|
<ItemGroup Condition="'$(TargetFramework)' == 'net48' OR '$(TargetFramework)' == 'net472'">
|
|
<Reference Include="System.Net.Http" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\Opc.Ua.Security.Certificates\Opc.Ua.Security.Certificates.csproj" />
|
|
<ProjectReference Include="..\Opc.Ua.Core.Types\Opc.Ua.Core.Types.csproj" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<EmbeddedResource Include="Types\Utils\LocalizedData.txt" />
|
|
</ItemGroup>
|
|
<!-- Stack source generation -->
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\..\Tools\Opc.Ua.SourceGeneration.Stack\Opc.Ua.SourceGeneration.Stack.csproj">
|
|
<OutputItemType>Analyzer</OutputItemType>
|
|
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
|
|
</ProjectReference>
|
|
<ProjectReference Include="..\..\Tools\Opc.Ua.SourceGeneration\Opc.Ua.SourceGeneration.csproj">
|
|
<OutputItemType>Analyzer</OutputItemType>
|
|
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
|
|
</ProjectReference>
|
|
</ItemGroup>
|
|
<Target Name="GetPackagingOutputs" />
|
|
</Project>
|