Skip to content

Conversation

@directhex
Copy link
Contributor

Fixes: #35490

Hopefully, anyway. I couldn't get local testing to run on an Android emulator at all

@ghost
Copy link

ghost commented Aug 24, 2021

I couldn't figure out the best area label to add to this PR. If you have write-permissions please help me learn by adding exactly one area label.

This should give the same output as legacy Xamarin. If it doesn't, I messed up
@directhex directhex force-pushed the android-specialfolders branch from b7a4d01 to ad4b9b2 Compare August 27, 2021 13:47
@directhex directhex requested a review from marek-safar as a code owner August 27, 2021 13:47
@steveisok steveisok self-requested a review August 27, 2021 15:45
@directhex directhex merged commit 0ab41f6 into dotnet:main Aug 30, 2021
@directhex
Copy link
Contributor Author

/backport to release/6.0

@github-actions
Copy link
Contributor

Started backporting to release/6.0: https://github.com/dotnet/runtime/actions/runs/1182508214

{
private static Dictionary<SpecialFolder, string>? s_specialFolders;

private static string GetFolderPathCore(SpecialFolder folder, SpecialFolderOption option)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the code should handle SpecialFolderOption.Create

@ghost ghost locked as resolved and limited conversation to collaborators Sep 29, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[mono] Implement Environment.GetFolderPath for Android

5 participants