Skip to content

Remove hardcoded Path #248

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

Merged
merged 1 commit into from
Jan 14, 2025
Merged

Remove hardcoded Path #248

merged 1 commit into from
Jan 14, 2025

Conversation

dellis1972
Copy link
Contributor

Context https://dev.azure.com/devdiv/DevDiv/_workitems/edit/2341994

Remove the hardcoded path to C:\android-sdk-windows from the list of backup paths to check when scanning for the android sdk.

Context https://dev.azure.com/devdiv/DevDiv/_workitems/edit/2341994

Remove the hardcoded  path to `C:\android-sdk-windows` from the list of backup paths to check when scanning for the android sdk.
@dellis1972 dellis1972 requested a review from jonpryor January 14, 2025 14:32
@dellis1972
Copy link
Contributor Author

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@jonpryor
Copy link
Contributor

That path was first added in 2012: https://github.com/xamarin/androidtools/commit/94e46bcc818b287a659ff8cd0d4c0ab83c80255b

No explanation for why that path was added…

@jonpryor jonpryor merged commit 36e574c into main Jan 14, 2025
4 checks passed
@jonpryor jonpryor deleted the dev/dellis1972/WI2341994 branch January 14, 2025 16:33
jonpryor pushed a commit that referenced this pull request Jan 14, 2025
Context: https://dev.azure.com/devdiv/DevDiv/_workitems/edit/2341994
Context: https://github.com/xamarin/androidtools/commit/94e46bcc818b287a659ff8cd0d4c0ab83c80255b

Remove the hardcoded path `C:\android-sdk-windows` from the list of
backup paths to check when scanning for the Android SDK.

This path was first added in xamarin/androidtools@94e46bcc, with no
explanation for *why* that was the backup path.  Perhaps that was the
convention at the time?
jonpryor pushed a commit that referenced this pull request Jan 14, 2025
Context: https://dev.azure.com/devdiv/DevDiv/_workitems/edit/2341994
Context: https://github.com/xamarin/androidtools/commit/94e46bcc818b287a659ff8cd0d4c0ab83c80255b

Remove the hardcoded path `C:\android-sdk-windows` from the list of
backup paths to check when scanning for the Android SDK.

This path was first added in xamarin/androidtools@94e46bcc, with no
explanation for *why* that was the backup path.  Perhaps that was the
convention at the time?
jonpryor pushed a commit to dotnet/java-interop that referenced this pull request Jan 19, 2025
Changes: dotnet/android-tools@f62cd09...36e574c

  * dotnet/android-tools@36e574c: [Xamarin.Android.Tools.AndroidSdk] Remove hardcoded Path (dotnet/android-tools#248)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
pjcollins pushed a commit that referenced this pull request Feb 20, 2025
Context: https://dev.azure.com/devdiv/DevDiv/_workitems/edit/2341994
Context: xamarin/androidtools@94e46bc

Remove the hardcoded path `C:\android-sdk-windows` from the list of
backup paths to check when scanning for the Android SDK.

This path was first added in xamarin/androidtools@94e46bcc, with no
explanation for *why* that was the backup path.  Perhaps that was the
convention at the time?
jonpryor added a commit to dotnet/android that referenced this pull request Mar 21, 2025
Changes: dotnet/android-tools@f53106a...5612c1a

  * dotnet/android-tools@5612c1a: [Xamarin.Android.Tools.AndroidSdk] OS-specific dirs are OS-specific (dotnet/android-tools#250)
  * dotnet/android-tools@da87185: [Xamarin.Android.Tools.AndroidSdk] Remove hardcoded Path (dotnet/android-tools#248)
pjcollins pushed a commit to dotnet/android that referenced this pull request Mar 21, 2025
Changes: dotnet/android-tools@f53106a...5612c1a

  * dotnet/android-tools@5612c1a: [Xamarin.Android.Tools.AndroidSdk] OS-specific dirs are OS-specific (dotnet/android-tools#250)
  * dotnet/android-tools@da87185: [Xamarin.Android.Tools.AndroidSdk] Remove hardcoded Path (dotnet/android-tools#248)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants