Skip to content

Commit 3109126

Browse files
authored
Change application-insights to write its output under its (#901)
src/application-insights directory rather than at the source-build src directory.
1 parent e082d68 commit 3109126

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

repos/application-insights.proj

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
33
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))/dir.props" />
44
<PropertyGroup>
5-
<PackagesOutput>$(SubmoduleDirectory)/bin/$(Configuration)</PackagesOutput>
5+
<PackagesOutput>$(ProjectDirectory)/bin/$(Configuration)</PackagesOutput>
66
<RepoApiImplemented>false</RepoApiImplemented>
77
<OrchestratedManifestBuildName>N/A</OrchestratedManifestBuildName>
88
</PropertyGroup>
@@ -13,6 +13,9 @@
1313
<PropertyGroup>
1414
<BuildCommandArgs>$(ProjectDirectory)/Microsoft.ApplicationInsights.csproj</BuildCommandArgs>
1515
<BuildCommandArgs>$(BuildCommandArgs) /p:Configuration=$(Configuration)</BuildCommandArgs>
16+
<!-- Re-assign EnlistmentRoot property so output directories end up under src/application-insights -->
17+
<BuildCommandArgs>$(BuildCommandArgs) /p:EnlistmentRoot=$(ProjectDirectory)/src</BuildCommandArgs>
18+
<BuildCommandArgs>$(BuildCommandArgs) /p:RelativeOutputPathBase=</BuildCommandArgs>
1619
<BuildCommandArgs>$(BuildCommandArgs) $(RedirectRepoOutputToLog)</BuildCommandArgs>
1720
</PropertyGroup>
1821

0 commit comments

Comments
 (0)