Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[xa-prep-tasks] DownloadUri needs to create directory #884

Merged
merged 1 commit into from
Sep 21, 2017

Conversation

jonathanpeppers
Copy link
Member

Context in #880

Since we are now downloading the bundle to ~/android-archives, it is
possible that the directory will not exist on a clean machine. We should
be calling Directory.CreateDirectory in the DownloadUri task anyway,
as this could easily happen on any destination file.

A case this occured on VSTS:
https://devdiv.visualstudio.com/DevDiv/_build/index?buildId=1006149

Context in dotnet#880

Since we are now downloading the bundle to `~/android-archives`, it is
possible that the directory will not exist on a clean machine. We should
be calling `Directory.CreateDirectory` in the `DownloadUri` task anyway,
as this could easily happen on any destination file.

A case this occured happened on VSTS:
https://devdiv.visualstudio.com/DevDiv/_build/index?buildId=1006149
@dnfclas
Copy link

dnfclas commented Sep 21, 2017

@jonathanpeppers,
Thanks for having already signed the Contribution License Agreement. Your agreement was validated by .NET Foundation. We will now review your pull request.
Thanks,
.NET Foundation Pull Request Bot

@jonpryor jonpryor merged commit 54a7b6b into dotnet:master Sep 21, 2017
@jonathanpeppers jonathanpeppers deleted the xa-prep-tasks-download branch September 21, 2017 18:18
jonpryor added a commit to jonpryor/xamarin-android that referenced this pull request Sep 24, 2021
Changes: dotnet/java-interop@8f7ddcd...c936d09

  * dotnet/java-interop@c936d09a: [build] Update more NuGet package versions (dotnet#884)
  * dotnet/java-interop@3f12cd25: Revert "[generator] Remove androidx.annotation from Annotation names (dotnet#882)"
  * dotnet/java-interop@b37a6478: [build] Bump various NuGets to match related repositories (dotnet#877)
  * dotnet/java-interop@1e8f5137: [generator] Remove androidx.annotation from Annotation names (dotnet#882)
jonpryor added a commit that referenced this pull request Sep 24, 2021
Changes: dotnet/java-interop@8f7ddcd...c936d09

  * dotnet/java-interop@c936d09a: [build] Update more NuGet package versions (#884)
  * dotnet/java-interop@3f12cd25: Revert "[generator] Remove androidx.annotation from Annotation names (#882)"
  * dotnet/java-interop@b37a6478: [build] Bump various NuGets to match related repositories (#877)
  * dotnet/java-interop@1e8f5137: [generator] Remove androidx.annotation from Annotation names (#882)
@github-actions github-actions bot locked and limited conversation to collaborators Feb 2, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants