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 <!-- TODO(kkm): Remove one "../" when separating packages. --> 10 <!-- TODO(kkm): Do not place non-tools under tools/, use build/native/bin/. --> 11 <Protobuf_PackagedToolsPath>$( [System.IO.Path]::GetFullPath($(MSBuildThisFileDirectory)../../tools) )</Protobuf_PackagedToolsPath> 12 <Protobuf_StandardImportsPath>$( [System.IO.Path]::GetFullPath($(MSBuildThisFileDirectory)../native/include) )</Protobuf_StandardImportsPath> 13 </PropertyGroup> 14 15 <!-- NET SDK projects only: include proto files by default. Other project 16 types are not setting or using $(EnableDefaultItems). 17 Note that MSBuild evaluates all ItemGroups and their conditions in the 18 final pass over the build script, so properties like EnableDefaultProtobufItems 19 here can be changed later in the project. --> 20 <ItemGroup Condition=" '$(Protobuf_ProjectSupported)' == 'true' "> 21 <Protobuf Include="**/*.proto" 22 Condition=" '$(EnableDefaultItems)' == 'true' and '$(EnableDefaultProtobufItems)' == 'true' " /> 23 </ItemGroup> 24</Project> 25