• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0"?>
2<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3  <PropertyGroup>
4    <MSBuildAllProjects>$(MSBuildAllProjects);$(MSBuildThisFileFullPath)</MSBuildAllProjects>
5
6    <!-- Revision number of this package conventions (as if "API" version). -->
7    <Protobuf_ToolingRevision>1</Protobuf_ToolingRevision>
8
9
10    <!-- Tools - protocol buffers compiler and plugins -->
11    <Protobuf_PackagedToolsPath>$( [System.IO.Path]::GetFullPath($(MSBuildThisFileDirectory)../../tools) )</Protobuf_PackagedToolsPath>
12    <!-- Protocol buffers Well Known Types -->
13    <Protobuf_StandardImportsPath>$( [System.IO.Path]::GetFullPath($(MSBuildThisFileDirectory)../native/include) )</Protobuf_StandardImportsPath>
14  </PropertyGroup>
15
16  <!-- NET SDK projects only: include proto files by default. Other project
17       types are not setting or using $(EnableDefaultItems).
18       Note that MSBuild evaluates all ItemGroups and their conditions in the
19       final pass over the build script, so properties like EnableDefaultProtobufItems
20       here can be changed later in the project. -->
21  <ItemGroup Condition=" '$(Protobuf_ProjectSupported)' == 'true' ">
22    <Protobuf Include="**/*.proto"
23              Condition=" '$(EnableDefaultItems)' == 'true' and '$(EnableDefaultProtobufItems)' == 'true' " />
24  </ItemGroup>
25</Project>
26