Server.ThirdParty.csproj 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. <Project Sdk="Microsoft.NET.Sdk">
  2. <PropertyGroup>
  3. <TargetFramework>net5.0</TargetFramework>
  4. <RootNamespace>ET</RootNamespace>
  5. <LangVersion>8</LangVersion>
  6. </PropertyGroup>
  7. <PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
  8. <DefineConstants>TRACE;FEAT_SAFE</DefineConstants>
  9. <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
  10. </PropertyGroup>
  11. <PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
  12. <DefineConstants>TRACE;FEAT_SAFE</DefineConstants>
  13. </PropertyGroup>
  14. <ItemGroup>
  15. <None Update="libkcp.dylib">
  16. <CopyToOutputDirectory>Always</CopyToOutputDirectory>
  17. </None>
  18. <None Update="libkcp.so">
  19. <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
  20. </None>
  21. </ItemGroup>
  22. <ItemGroup>
  23. <PackageReference Include="MongoDB.Driver" Version="2.11.5" />
  24. </ItemGroup>
  25. <ItemGroup>
  26. <Compile Include="..\..\Unity\Assets\ThirdParty\protobuf-net\**\*.cs">
  27. <Link>protobuf-net\%(RecursiveDir)%(FileName)%(Extension)</Link>
  28. </Compile>
  29. </ItemGroup>
  30. </Project>