<?xml version="1.0" encoding="utf-8"?>
<Project Sdk="Microsoft.NET.Sdk">

	<PropertyGroup>
		<OutputType>Library</OutputType>
		<AssemblyName>TerrariaServer</AssemblyName> <!-- old plugins reference this, if it changes, they break -->
		<TargetFramework>net6.0</TargetFramework>
		<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
		<GenerateDocumentationFile>True</GenerateDocumentationFile>
		<RunPostBuildEvent>Always</RunPostBuildEvent>
		<Version>5.1.3</Version>
		<AssemblyTitle>TSAPI</AssemblyTitle>
		<Product>TSAPI</Product>
		<Company>Pryaxis &amp; TShock Contributors</Company>
		<!-- extras for nuget -->
		<PackageId>TSAPI</PackageId>
		<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
		<PackageLicenseExpression>GPL-3.0-or-later</PackageLicenseExpression>
		<Authors>Pryaxis &amp; TShock Contributors</Authors>
		<Description>This is the Terraria Server API, the API that TShock for Terraria runs on.</Description>
		<StartupObject></StartupObject>
		<ProduceReferenceAssembly>True</ProduceReferenceAssembly>
	</PropertyGroup>

	<ItemGroup>
		<PackageReference Include="Newtonsoft.Json" Version="13.0.1" />
		<PackageReference Include="System.Diagnostics.PerformanceCounter" Version="6.0.1" />
		<PackageReference Include="OTAPI.Upcoming" Version="3.1.20" />
	</ItemGroup>
</Project>
