Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/corefx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Ellis <matell@microsoft.com>2015-04-25 00:16:23 +0300
committerMatt Ellis <matell@microsoft.com>2015-04-25 00:44:58 +0300
commit280acab0de06505f1c7a276394ad9c4c28e7a888 (patch)
tree8396af28f386766c12e759d85e8e698592ffb4b4 /dir.targets
parent28093f86d4cf6abc3a2eb65aec2d74faa783aae6 (diff)
Fix package restore error
The partial facade target writes project.json files into the intermediates folders and there is no nuget.config file in that directory hierarchy so package restore may not complete successfully. Until aspnet/dnx#1693 is fixed, work around this issue by copying our NuGet.config to the root of the intermediates folder. Fixes 1508
Diffstat (limited to 'dir.targets')
-rw-r--r--dir.targets1
1 files changed, 1 insertions, 0 deletions
diff --git a/dir.targets b/dir.targets
index ded759fe6f..2626bcce25 100644
--- a/dir.targets
+++ b/dir.targets
@@ -86,6 +86,7 @@
but not restore from PackagesDir as happens for test project restore since PackagesDir
will not be under src. To workaround, copy our nuget.config to packages. -->
<Copy Condition="Exists('$(NuGetConfigFile)')" SourceFiles="$(NuGetConfigFile)" DestinationFolder="$(PackagesDir)" SkipUnchangedFiles="true" />
+ <Copy Condition="Exists('$(NuGetConfigFile)')" SourceFiles="$(NuGetConfigFile)" DestinationFolder="$(IntermediateOutputRootPath)" SkipUnchangedFiles="true" />
<Error Condition="'$(ErrorIfBuildToolsRestoredFromIndividualProject)'=='true'"
Text="The build tools package was just restored and so we cannot continue the build of an individual project because targets from the build tools package were not able to be imported. Please retry the build the individual project again." />