Google.Protobuf.csproj 2.2 KB
Newer Older
1
<Project Sdk="Microsoft.NET.Sdk">
2 3 4 5 6

  <PropertyGroup>
    <Description>C# runtime library for Protocol Buffers - Google's data interchange format.</Description>
    <Copyright>Copyright 2015, Google Inc.</Copyright>
    <AssemblyTitle>Google Protocol Buffers</AssemblyTitle>
7
    <VersionPrefix>3.11.0-rc1</VersionPrefix>
8
    <LangVersion>6</LangVersion>
9
    <Authors>Google Inc.</Authors>
10
    <TargetFrameworks>netstandard1.0;netstandard2.0;net45</TargetFrameworks>
11 12 13 14 15 16
    <GenerateDocumentationFile>true</GenerateDocumentationFile>
    <AssemblyOriginatorKeyFile>../../keys/Google.Protobuf.snk</AssemblyOriginatorKeyFile>
    <SignAssembly>true</SignAssembly>
    <PublicSign Condition=" '$(OS)' != 'Windows_NT' ">true</PublicSign>
    <PackageTags>Protocol;Buffers;Binary;Serialization;Format;Google;proto;proto3</PackageTags>
    <PackageReleaseNotes>C# proto3 support</PackageReleaseNotes>
Feng Xiao's avatar
Feng Xiao committed
17 18
    <PackageProjectUrl>https://github.com/protocolbuffers/protobuf</PackageProjectUrl>
    <PackageLicenseUrl>https://github.com/protocolbuffers/protobuf/blob/master/LICENSE</PackageLicenseUrl>
19
    <RepositoryType>git</RepositoryType>
Feng Xiao's avatar
Feng Xiao committed
20
    <RepositoryUrl>https://github.com/protocolbuffers/protobuf.git</RepositoryUrl>
21 22
    <!-- Include PDB in the built .nupkg -->
    <AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder>
23 24
  </PropertyGroup>

25 26
  <PropertyGroup Condition=" '$(TargetFramework)' == 'net45' or '$(TargetFramework)' == 'netstandard2.0' ">
    <DefineConstants>$(DefineConstants);GOOGLE_PROTOBUF_SUPPORT_SYSTEM_MEMORY</DefineConstants>
27 28
  </PropertyGroup>

29 30
  <!-- Needed for the net45 build to work on Unix. See https://github.com/dotnet/designs/pull/33 -->
  <ItemGroup>
Jie Luo's avatar
Jie Luo committed
31
    <PackageReference Include="Microsoft.NETFramework.ReferenceAssemblies" PrivateAssets="All" Version="1.0.0-preview.2"/>
32 33 34
  </ItemGroup>

  <ItemGroup Condition=" '$(TargetFramework)' == 'net45' or '$(TargetFramework)' == 'netstandard2.0' ">
Hao Nguyen's avatar
Hao Nguyen committed
35
    <PackageReference Include="System.Memory" Version="4.5.2"/>
36 37
  </ItemGroup>

38
  <ItemGroup>
Hao Nguyen's avatar
Hao Nguyen committed
39
    <PackageReference Include="Microsoft.SourceLink.GitHub" PrivateAssets="All" Version="1.0.0-beta2-18618-05"/>
40 41
  </ItemGroup>

42
</Project>