Google.Protobuf.csproj 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. <Project Sdk="Microsoft.NET.Sdk">
  2. <PropertyGroup>
  3. <Description>C# runtime library for Protocol Buffers - Google's data interchange format.</Description>
  4. <Copyright>Copyright 2015, Google Inc.</Copyright>
  5. <AssemblyTitle>Google Protocol Buffers</AssemblyTitle>
  6. <VersionPrefix>3.11.4</VersionPrefix>
  7. <LangVersion>6</LangVersion>
  8. <Authors>Google Inc.</Authors>
  9. <TargetFrameworks>netstandard1.0;netstandard2.0;net45</TargetFrameworks>
  10. <GenerateDocumentationFile>true</GenerateDocumentationFile>
  11. <AssemblyOriginatorKeyFile>../../keys/Google.Protobuf.snk</AssemblyOriginatorKeyFile>
  12. <SignAssembly>true</SignAssembly>
  13. <PublicSign Condition=" '$(OS)' != 'Windows_NT' ">true</PublicSign>
  14. <PackageTags>Protocol;Buffers;Binary;Serialization;Format;Google;proto;proto3</PackageTags>
  15. <PackageReleaseNotes>C# proto3 support</PackageReleaseNotes>
  16. <PackageProjectUrl>https://github.com/protocolbuffers/protobuf</PackageProjectUrl>
  17. <PackageLicenseUrl>https://github.com/protocolbuffers/protobuf/blob/master/LICENSE</PackageLicenseUrl>
  18. <RepositoryType>git</RepositoryType>
  19. <RepositoryUrl>https://github.com/protocolbuffers/protobuf.git</RepositoryUrl>
  20. <!-- Include PDB in the built .nupkg -->
  21. <AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder>
  22. </PropertyGroup>
  23. <PropertyGroup Condition=" '$(TargetFramework)' == 'net45' or '$(TargetFramework)' == 'netstandard2.0' ">
  24. <DefineConstants>$(DefineConstants);GOOGLE_PROTOBUF_SUPPORT_SYSTEM_MEMORY</DefineConstants>
  25. </PropertyGroup>
  26. <!-- Needed for the net45 build to work on Unix. See https://github.com/dotnet/designs/pull/33 -->
  27. <ItemGroup>
  28. <PackageReference Include="Microsoft.NETFramework.ReferenceAssemblies" PrivateAssets="All" Version="1.0.0-preview.2"/>
  29. </ItemGroup>
  30. <ItemGroup Condition=" '$(TargetFramework)' == 'net45' or '$(TargetFramework)' == 'netstandard2.0' ">
  31. <PackageReference Include="System.Memory" Version="4.5.2"/>
  32. </ItemGroup>
  33. <ItemGroup>
  34. <PackageReference Include="Microsoft.SourceLink.GitHub" PrivateAssets="All" Version="1.0.0-beta2-18618-05"/>
  35. </ItemGroup>
  36. </Project>