Skip to content
This repository has been archived by the owner on May 21, 2019. It is now read-only.

Commit

Permalink
Re-add RepositoryRoot to preflight restore in case something has star…
Browse files Browse the repository at this point in the history
…ted using it.
  • Loading branch information
Nate McMaster committed Apr 27, 2017
1 parent c09b1f6 commit 9acef12
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build/KoreBuild.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -122,5 +122,5 @@ if (!(Test-Path $msbuildArtifactsDir))

$msBuildArguments | Out-File -Encoding ASCII -FilePath $msBuildResponseFile

exec dotnet msbuild /nologo /t:Restore /p:PreflightRestore=true "$makeFileProj"
exec dotnet msbuild /nologo /t:Restore /p:PreflightRestore=true /p:RepositoryRoot="$repoFolder/" "$makeFileProj"
exec dotnet msbuild `@"$msBuildResponseFile"
2 changes: 1 addition & 1 deletion build/KoreBuild.sh
Original file line number Diff line number Diff line change
Expand Up @@ -152,5 +152,5 @@ cat > $msbuildResponseFile <<ENDMSBUILDARGS
ENDMSBUILDARGS
echo -e "$msbuild_args" >> $msbuildResponseFile

__exec dotnet msbuild /nologo /t:Restore /p:PreflightRestore=true /p:NetFxVersion=$netfxversion "$makeFileProj"
__exec dotnet msbuild /nologo /t:Restore /p:PreflightRestore=true /p:NetFxVersion=$netfxversion /p:RepositoryRoot="$repoFolder/" "$makeFileProj"
__exec dotnet msbuild @"$msbuildResponseFile"

0 comments on commit 9acef12

Please sign in to comment.