SharpGen.Runtime/SharpGen.Runtime.props (5 lines of code) (raw):

<Project> <ItemGroup> <SharpGenConsumerMapping Include="$(MSBuildThisFileDirectory)../build/Mapping.xml" /> </ItemGroup> </Project>