diff options
author | Jeremy Kuhne <jeremy.kuhne@microsoft.com> | 2015-04-25 01:41:21 +0300 |
---|---|---|
committer | Jeremy Kuhne <jeremy.kuhne@microsoft.com> | 2015-04-27 21:07:53 +0300 |
commit | 09a822278eb23760cec938cd89b8ac8889720f60 (patch) | |
tree | 456a939344ad56cf0cd0fcc8ac5e4923f7be725e /dir.targets | |
parent | 3612a5a5a18afcee664cfc9e26ba6dc6c25f02ac (diff) |
Add the mono DNU package and execute rights.
Diffstat (limited to 'dir.targets')
-rw-r--r-- | dir.targets | 6 |
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 "$(DnxPackageDir)/bin/dnu"" /> + <Exec Condition="'$(OsVersionPlatform)'=='Unix'" + Command="chmod a+x "$(DnxPackageDir)/bin/dnx"" /> + <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." /> |