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

Fix SpecialFolder.Personal usages#124

Merged
rmarinho merged 1 commit intodotnet:mainfrom
eerhardt:FixSpecialFolderUsage
Oct 4, 2022
Merged

Fix SpecialFolder.Personal usages#124
rmarinho merged 1 commit intodotnet:mainfrom
eerhardt:FixSpecialFolderUsage

Conversation

@eerhardt
Copy link
Copy Markdown
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.
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
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

@rmarinho
Copy link
Copy Markdown
Member

rmarinho commented Oct 4, 2022

/azp run

@azure-pipelines
Copy link
Copy Markdown

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