Skip to content
This repository has been archived by the owner on Dec 21, 2023. It is now read-only.

Fix SpecialFolder.Personal usages #124

Merged
merged 1 commit into from
Oct 4, 2022

Conversation

eerhardt
Copy link
Member

SpecialFolder Personal is the same value as MyDocuments, both of which will be changed on Unix from ~ to ~/Documents in .NET 8. See dotnet/runtime#68610.

Fixing the usage of SpecialFolder.Personal here to be UserProfile, since that's really what it wants.

SpecialFolder Personal is the same value as MyDocuments, both of which will be changed on Unix from `~` to `~/Documents` in .NET 8. See dotnet/runtime#68610.

Fixing the usage of SpecialFolder.Personal here to be UserProfile, since that's really what it wants.
@@ -36,7 +36,7 @@ item.XcodeSelect ();

LogInstalledXcodes();

var appleSdkOverride = Path.Combine(Environment.GetFolderPath (Environment.SpecialFolder.Personal), "Library", "Preferences", "Xamarin", "Settings.plist");
var appleSdkOverride = Path.Combine(Environment.GetFolderPath (Environment.SpecialFolder.UserProfile), "Library", "Preferences", "Xamarin", "Settings.plist");
Copy link
Contributor

Choose a reason for hiding this comment

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

@rmarinho
Copy link
Member

rmarinho commented Oct 4, 2022

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@rmarinho rmarinho merged commit a441ce8 into dotnet:main Oct 4, 2022
@eerhardt eerhardt deleted the FixSpecialFolderUsage branch October 4, 2022 14:15
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