Directory.Build.props (15 lines of code) (raw):

<Project> <!-- paths --> <PropertyGroup> <RepoRoot>$(MSBuildThisFileDirectory)</RepoRoot> <RepoEngRoot>$(RepoRoot)eng/</RepoEngRoot> <RepoSrcRoot>$(RepoRoot)src/</RepoSrcRoot> <RepoTestRoot>$(RepoRoot)test/</RepoTestRoot> </PropertyGroup> <!-- artifacts --> <PropertyGroup> <ArtifactsPath>$(MSBuildThisFileDirectory)out</ArtifactsPath> <ArtifactsPublishOutputName>pub</ArtifactsPublishOutputName> <ArtifactsPackageOutputName>pkg</ArtifactsPackageOutputName> <IsPackable>false</IsPackable> </PropertyGroup> <Import Project="$(RepoEngRoot)Directory.Build.Common.props" /> </Project>