mirror of
https://github.com/OPCFoundation/UA-.NETStandard.git
synced 2026-10-26 04:19:53 +08:00
41 lines
1.9 KiB
XML
41 lines
1.9 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
<PropertyGroup>
|
|
<TargetFrameworks>$(TestsTargetFrameworks)</TargetFrameworks>
|
|
<RootNamespace>Opc.Ua.SourceGeneration.Tests</RootNamespace>
|
|
<IsTestProject>true</IsTestProject>
|
|
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
|
|
</PropertyGroup>
|
|
<ItemGroup>
|
|
<PackageReference Include="Microsoft.NET.Test.Sdk" />
|
|
<PackageReference Include="NUnit" />
|
|
<PackageReference Include="NUnit.Console" />
|
|
<PackageReference Include="NUnit.Analyzers">
|
|
<PrivateAssets>all</PrivateAssets>
|
|
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
|
</PackageReference>
|
|
<PackageReference Include="NUnit3TestAdapter">
|
|
<PrivateAssets>all</PrivateAssets>
|
|
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
|
|
</PackageReference>
|
|
<PackageReference Include="coverlet.collector">
|
|
<PrivateAssets>all</PrivateAssets>
|
|
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
|
</PackageReference>
|
|
<PackageReference Include="System.Collections.Immutable" />
|
|
<PackageReference Include="System.Threading.Tasks.Extensions" />
|
|
<PackageReference Include="System.Diagnostics.DiagnosticSource" />
|
|
<PackageReference Include="System.Text.Json" />
|
|
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" />
|
|
</ItemGroup>
|
|
<PropertyGroup Condition="'$(NetStandardTests)' == 'true'">
|
|
<DefineConstants>$(DefineConstants);NET_STANDARD_TESTS</DefineConstants>
|
|
</PropertyGroup>
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\..\Tools\Opc.Ua.SourceGeneration.Stack\Opc.Ua.SourceGeneration.Stack.csproj" />
|
|
<ProjectReference Include="..\..\Tools\Opc.Ua.SourceGeneration.Core\Opc.Ua.SourceGeneration.Core.csproj" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<Compile Include="..\Opc.Ua.SourceGeneration.Core.Tests\CompilerUtils.cs" />
|
|
</ItemGroup>
|
|
</Project>
|