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:
authorJeremy Kuhne <jeremy.kuhne@microsoft.com>2015-04-25 01:41:21 +0300
committerJeremy Kuhne <jeremy.kuhne@microsoft.com>2015-04-27 21:07:53 +0300
commit09a822278eb23760cec938cd89b8ac8889720f60 (patch)
tree456a939344ad56cf0cd0fcc8ac5e4923f7be725e /dir.targets
parent3612a5a5a18afcee664cfc9e26ba6dc6c25f02ac (diff)
Add the mono DNU package and execute rights.
Diffstat (limited to 'dir.targets')
-rw-r--r--dir.targets6
1 files changed, 6 insertions, 0 deletions
diff --git a/dir.targets b/dir.targets
index 2626bcce25..850b621dba 100644
--- a/dir.targets
+++ b/dir.targets
@@ -88,6 +88,12 @@
<Copy Condition="Exists('$(NuGetConfigFile)')" SourceFiles="$(NuGetConfigFile)" DestinationFolder="$(PackagesDir)" SkipUnchangedFiles="true" />
<Copy Condition="Exists('$(NuGetConfigFile)')" SourceFiles="$(NuGetConfigFile)" DestinationFolder="$(IntermediateOutputRootPath)" SkipUnchangedFiles="true" />
+ <!-- Add DNU execute rights -->
+ <Exec Condition="'$(OsVersionPlatform)'=='Unix'"
+ Command="chmod a+x &quot;$(DnxPackageDir)/bin/dnu&quot;" />
+ <Exec Condition="'$(OsVersionPlatform)'=='Unix'"
+ Command="chmod a+x &quot;$(DnxPackageDir)/bin/dnx&quot;" />
+
<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." />