Google.Protobuf.csproj 8.77 KB
Newer Older
1 2 3 4 5 6 7 8 9 10
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <PropertyGroup>
    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
    <ProductVersion>9.0.30729</ProductVersion>
    <SchemaVersion>2.0</SchemaVersion>
    <ProjectGuid>{6908BDCE-D925-43F3-94AC-A531E6DF2591}</ProjectGuid>
    <OutputType>Library</OutputType>
    <AppDesignerFolder>Properties</AppDesignerFolder>
11 12
    <RootNamespace>Google.Protobuf</RootNamespace>
    <AssemblyName>Google.Protobuf</AssemblyName>
13
    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
14 15
    <TargetFrameworkProfile>Profile259</TargetFrameworkProfile>
    <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
16 17
    <FileAlignment>512</FileAlignment>
    <OldToolsVersion>3.5</OldToolsVersion>
18
    <MinimumVisualStudioVersion>10.0</MinimumVisualStudioVersion>
19 20
    <NuGetPackageImportStamp>
    </NuGetPackageImportStamp>
21 22 23 24 25
  </PropertyGroup>
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
    <DebugSymbols>true</DebugSymbols>
    <DebugType>full</DebugType>
    <Optimize>false</Optimize>
26 27
    <OutputPath>bin\Debug</OutputPath>
    <IntermediateOutputPath>obj\Debug\</IntermediateOutputPath>
28
    <DocumentationFile>bin\Debug\Google.Protobuf.xml</DocumentationFile>
29 30
    <NoWarn>
    </NoWarn>
31
    <DefineConstants>DEBUG;TRACE</DefineConstants>
32 33 34
    <ErrorReport>prompt</ErrorReport>
    <WarningLevel>4</WarningLevel>
    <NoStdLib>true</NoStdLib>
35
    <GenerateSerializationAssemblies>Off</GenerateSerializationAssemblies>
36
    <TreatWarningsAsErrors>true</TreatWarningsAsErrors>
37 38 39 40
  </PropertyGroup>
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
    <DebugType>pdbonly</DebugType>
    <Optimize>true</Optimize>
41 42
    <OutputPath>bin\Release</OutputPath>
    <IntermediateOutputPath>obj\Release\</IntermediateOutputPath>
43
    <DocumentationFile>$(OutputPath)\$(AssemblyName).xml</DocumentationFile>
44 45
    <NoWarn>
    </NoWarn>
46
    <DefineConstants>TRACE</DefineConstants>
47 48 49
    <ErrorReport>prompt</ErrorReport>
    <WarningLevel>4</WarningLevel>
    <NoStdLib>true</NoStdLib>
50
    <GenerateSerializationAssemblies>Off</GenerateSerializationAssemblies>
51
    <TreatWarningsAsErrors>true</TreatWarningsAsErrors>
52
  </PropertyGroup>
53 54 55 56 57 58
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'ReleaseSigned|AnyCPU' ">
    <DebugType>pdbonly</DebugType>
    <Optimize>true</Optimize>
    <OutputPath>bin\ReleaseSigned</OutputPath>
    <IntermediateOutputPath>obj\ReleaseSigned\</IntermediateOutputPath>
    <DocumentationFile>$(OutputPath)\$(AssemblyName).xml</DocumentationFile>
59 60
    <NoWarn>
    </NoWarn>
61
    <DefineConstants>TRACE;SIGNED</DefineConstants>
62 63 64 65 66 67
    <ErrorReport>prompt</ErrorReport>
    <WarningLevel>4</WarningLevel>
    <NoStdLib>true</NoStdLib>
    <GenerateSerializationAssemblies>Off</GenerateSerializationAssemblies>
    <SignAssembly>True</SignAssembly>
    <AssemblyOriginatorKeyFile>C:\keys\Google.Protobuf.snk</AssemblyOriginatorKeyFile>
68
    <TreatWarningsAsErrors>true</TreatWarningsAsErrors>
69
  </PropertyGroup>
70 71 72 73 74 75
  <ItemGroup>
    <Reference Include="mscorlib" />
    <Reference Include="System" />
    <Reference Include="System.Xml" />
  </ItemGroup>
  <ItemGroup>
76
    <Compile Include="ByteArray.cs" />
77
    <Compile Include="ByteString.cs" />
78
    <Compile Include="CodedOutputStream.ComputeSize.cs" />
79 80
    <Compile Include="CodedInputStream.cs" />
    <Compile Include="CodedOutputStream.cs" />
Jon Skeet's avatar
Jon Skeet committed
81
    <Compile Include="Collections\MapField.cs" />
82
    <Compile Include="Collections\ReadOnlyDictionary.cs" />
83
    <Compile Include="Collections\RepeatedField.cs" />
84 85
    <Compile Include="Compatibility\PropertyInfoExtensions.cs" />
    <Compile Include="Compatibility\TypeExtensions.cs" />
Jon Skeet's avatar
Jon Skeet committed
86
    <Compile Include="FieldCodec.cs" />
Jon Skeet's avatar
Jon Skeet committed
87
    <Compile Include="FrameworkPortability.cs" />
88
    <Compile Include="ICustomDiagnosticMessage.cs" />
Jon Skeet's avatar
Jon Skeet committed
89
    <Compile Include="IDeepCloneable.cs" />
90
    <Compile Include="InvalidJsonException.cs" />
91
    <Compile Include="JsonFormatter.cs" />
92 93 94
    <Compile Include="JsonParser.cs" />
    <Compile Include="JsonToken.cs" />
    <Compile Include="JsonTokenizer.cs" />
Jon Skeet's avatar
Jon Skeet committed
95
    <Compile Include="MessageExtensions.cs" />
96 97
    <Compile Include="IMessage.cs" />
    <Compile Include="InvalidProtocolBufferException.cs" />
98 99
    <Compile Include="LimitedInputStream.cs" />
    <Compile Include="MessageParser.cs" />
100
    <Compile Include="Properties\AssemblyInfo.cs" />
101
    <Compile Include="Reflection\Descriptor.cs" />
102 103 104 105 106 107 108 109 110 111
    <Compile Include="Reflection\DescriptorBase.cs" />
    <Compile Include="Reflection\DescriptorPool.cs" />
    <Compile Include="Reflection\DescriptorUtil.cs" />
    <Compile Include="Reflection\DescriptorValidationException.cs" />
    <Compile Include="Reflection\EnumDescriptor.cs" />
    <Compile Include="Reflection\EnumValueDescriptor.cs" />
    <Compile Include="Reflection\FieldAccessorBase.cs" />
    <Compile Include="Reflection\FieldDescriptor.cs" />
    <Compile Include="Reflection\FieldType.cs" />
    <Compile Include="Reflection\FileDescriptor.cs" />
112
    <Compile Include="Reflection\GeneratedCodeInfo.cs" />
113 114 115 116 117 118 119 120
    <Compile Include="Reflection\IDescriptor.cs" />
    <Compile Include="Reflection\IFieldAccessor.cs" />
    <Compile Include="Reflection\MapFieldAccessor.cs" />
    <Compile Include="Reflection\MessageDescriptor.cs" />
    <Compile Include="Reflection\MethodDescriptor.cs" />
    <Compile Include="Reflection\OneofAccessor.cs" />
    <Compile Include="Reflection\OneofDescriptor.cs" />
    <Compile Include="Reflection\PackageDescriptor.cs" />
121
    <Compile Include="Reflection\PartialClasses.cs" />
122 123 124 125
    <Compile Include="Reflection\ReflectionUtil.cs" />
    <Compile Include="Reflection\RepeatedFieldAccessor.cs" />
    <Compile Include="Reflection\ServiceDescriptor.cs" />
    <Compile Include="Reflection\SingleFieldAccessor.cs" />
126
    <Compile Include="Preconditions.cs" />
127
    <Compile Include="Reflection\TypeRegistry.cs" />
128
    <Compile Include="WellKnownTypes\Any.cs" />
129
    <Compile Include="WellKnownTypes\AnyPartial.cs" />
130 131
    <Compile Include="WellKnownTypes\Api.cs" />
    <Compile Include="WellKnownTypes\Duration.cs" />
132
    <Compile Include="WellKnownTypes\DurationPartial.cs" />
133 134
    <Compile Include="WellKnownTypes\Empty.cs" />
    <Compile Include="WellKnownTypes\FieldMask.cs" />
135
    <Compile Include="WellKnownTypes\FieldMaskPartial.cs" />
136 137
    <Compile Include="WellKnownTypes\SourceContext.cs" />
    <Compile Include="WellKnownTypes\Struct.cs" />
138
    <Compile Include="WellKnownTypes\TimeExtensions.cs" />
139
    <Compile Include="WellKnownTypes\Timestamp.cs" />
140
    <Compile Include="WellKnownTypes\TimestampPartial.cs" />
141
    <Compile Include="WellKnownTypes\Type.cs" />
142
    <Compile Include="WellKnownTypes\ValuePartial.cs" />
143
    <Compile Include="WellKnownTypes\Wrappers.cs" />
144
    <Compile Include="WellKnownTypes\WrappersPartial.cs" />
145 146
    <Compile Include="WireFormat.cs" />
  </ItemGroup>
147 148
  <ItemGroup>
    <None Include="Google.Protobuf.nuspec" />
149
    <None Include="packages.config" />
150
  </ItemGroup>
151
  <ItemGroup />
152
  <Import Project="$(MSBuildExtensionsPath32)\Microsoft\Portable\$(TargetFrameworkVersion)\Microsoft.Portable.CSharp.targets" />
153 154 155 156 157 158 159
  <Import Project="..\packages\NuSpec.ReferenceGenerator.1.4.1\build\portable-net45+win+wpa81+wp80+MonoAndroid10+xamarinios10+MonoTouch10\NuSpec.ReferenceGenerator.targets" Condition="Exists('..\packages\NuSpec.ReferenceGenerator.1.4.1\build\portable-net45+win+wpa81+wp80+MonoAndroid10+xamarinios10+MonoTouch10\NuSpec.ReferenceGenerator.targets')" />
  <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
    <PropertyGroup>
      <ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them.  For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
    </PropertyGroup>
    <Error Condition="!Exists('..\packages\NuSpec.ReferenceGenerator.1.4.1\build\portable-net45+win+wpa81+wp80+MonoAndroid10+xamarinios10+MonoTouch10\NuSpec.ReferenceGenerator.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\NuSpec.ReferenceGenerator.1.4.1\build\portable-net45+win+wpa81+wp80+MonoAndroid10+xamarinios10+MonoTouch10\NuSpec.ReferenceGenerator.targets'))" />
  </Target>
160 161 162 163 164 165
  <!-- To modify your build process, add your task inside one of the targets below and uncomment it. 
       Other similar extension points exist, see Microsoft.Common.targets.
  <Target Name="BeforeBuild">
  </Target>
  <Target Name="AfterBuild">
  </Target>
166
  -->
167
</Project>