Files
dotnet-runtime/eng/testing/ForXHarness.Directory.Build.props
2022-11-16 18:31:35 +01:00

11 lines
780 B
XML

<Project>
<!-- This is for use with projects that don't need to be built with artifacts. And
need to be loadable by xharness. For example, aspnetcore middleware -->
<PropertyGroup>
<RepositoryRoot>$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory)../, global.json))/</RepositoryRoot>
<BaseIntermediateOutputPath>$([MSBuild]::NormalizeDirectory($(RepositoryRoot), 'artifacts', 'obj', $(MSBuildProjectName)))</BaseIntermediateOutputPath>
<IntermediateOutputPath>$([MSBuild]::NormalizeDirectory($(BaseIntermediateOutputPath), $(Configuration)))</IntermediateOutputPath>
<OutputPath>$([MSBuild]::NormalizeDirectory($(RepositoryRoot), 'artifacts', 'bin', $(MSBuildProjectName), $(Configuration)))</OutputPath>
</PropertyGroup>
</Project>