mirror of
https://github.com/OPCFoundation/UA-.NETStandard.git
synced 2026-10-28 14:09:56 +08:00
43 lines
1.9 KiB
XML
43 lines
1.9 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
<PropertyGroup>
|
|
<TargetFramework>net10.0</TargetFramework>
|
|
<OutputType>Exe</OutputType>
|
|
<IsPackable>false</IsPackable>
|
|
<AssemblyName>MinimalCalcServer</AssemblyName>
|
|
<PackageId>MinimalCalcServer</PackageId>
|
|
<Company>OPC Foundation</Company>
|
|
<Description>Self-contained .NET console OPC UA server demonstrating source-generated NodeManagers + the typed fluent OnCall surface for methods with arguments. Native AOT compatible.</Description>
|
|
<Copyright>Copyright © 2004-2025 OPC Foundation, Inc</Copyright>
|
|
<RootNamespace>Calc</RootNamespace>
|
|
<Nullable>enable</Nullable>
|
|
<IsPackable>false</IsPackable>
|
|
<NoWarn>$(NoWarn);CA1822</NoWarn>
|
|
<PublishAot>true</PublishAot>
|
|
<!-- Opt into the root Directory.Build.targets no-op shape on
|
|
per-TFM CI matrix entries that pin CustomTestTarget to a
|
|
legacy TFM this app cannot target. -->
|
|
<RestrictForLegacyTfm>true</RestrictForLegacyTfm>
|
|
</PropertyGroup>
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\..\src\Opc.Ua.Configuration\Opc.Ua.Configuration.csproj" />
|
|
<ProjectReference Include="..\..\src\Opc.Ua.Server\Opc.Ua.Server.csproj" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\..\tools\Opc.Ua.SourceGeneration\Opc.Ua.SourceGeneration.csproj">
|
|
<OutputItemType>Analyzer</OutputItemType>
|
|
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
|
|
</ProjectReference>
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<PackageReference Include="Microsoft.Extensions.Hosting" />
|
|
<PackageReference Include="Microsoft.Extensions.Logging.Console" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<AdditionalFiles Include="Model\Calc.xml">
|
|
<ModelSourceGeneratorModelUri>http://opcfoundation.org/UA/Calc/</ModelSourceGeneratorModelUri>
|
|
<ModelSourceGeneratorName>Calc</ModelSourceGeneratorName>
|
|
<ModelSourceGeneratorPrefix>Calc</ModelSourceGeneratorPrefix>
|
|
</AdditionalFiles>
|
|
</ItemGroup>
|
|
</Project>
|