Skip to content

Commit

Permalink
Add empty Directory.Build.rsp files
Browse files Browse the repository at this point in the history
When msbuild.exe is invoked it will search the current directory looking
for a Directory.Build.rsp file to provide additional command line
arguments. This search follows the same logic as for
Directory.Build.props files and has the same type of implications
for build reliability.

Adding a dummy empty file for both our standard build and tests.
  • Loading branch information
jaredpar committed Apr 9, 2018
1 parent b6f7194 commit b6c6778
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions Directory.Build.rsp
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# This file intentionally left blank to avoid accidental import during build.
1 change: 1 addition & 0 deletions build/scripts/build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -642,6 +642,7 @@ function Redirect-Temp() {
Copy-Item (Join-Path $repoDir "src\Workspaces\CoreTestUtilities\Resources\.editorconfig") $temp
Copy-Item (Join-Path $repoDir "src\Workspaces\CoreTestUtilities\Resources\Directory.Build.props") $temp
Copy-Item (Join-Path $repoDir "src\Workspaces\CoreTestUtilities\Resources\Directory.Build.targets") $temp
Copy-Item (Join-Path $repoDir "src\Workspaces\CoreTestUtilities\Resources\Directory.Build.rsp") $temp
${env:TEMP} = $temp
${env:TMP} = $temp
}
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# This file intentionally left blank to avoid accidental import during testing

0 comments on commit b6c6778

Please sign in to comment.