<Project Sdk="Microsoft.NET.Sdk">

	<Import Project="..\libs.targets" />

	<PropertyGroup>
		<Description>
			Implementation for the Operation Result Pattern.
		</Description>
		<PackageTags>RoyalCode Enterprise-Patterns Operation-Result Operation-Result-Pattern</PackageTags>
		
		<RootNamespace>RoyalCode.OperationResults</RootNamespace>

		<NoWarn>$(NoWarn);SYSLIB0012;SYSLIB0005;CS1591;</NoWarn>
	</PropertyGroup>

	<!-- when target is netstandard2.1 then add the System.Text.Json package -->
	<ItemGroup Condition=" '$(TargetFramework)' == 'netstandard2.1' ">
		<PackageReference Include="System.Text.Json" Version="6.0.0" />
		<PackageReference Include="System.Collections.Immutable" Version="6.0.0" />
	</ItemGroup>

	<ItemGroup>
		<ProjectReference Include="..\RoyalCode.OperationResult\RoyalCode.OperationResult.csproj" />
	</ItemGroup>

</Project>
