Closed
Description
Description
It returns an empty string on macOS Monterey running under .NET core 5.
My Electron.NET app runs under .NET Core 5.
It used to work well on the previous versions of OSX, now it returns an empty string.
Environment.GetFolderPath(Environment.SpecialFolder.MyMusic) returns correct path.
Reproduction Steps
Call the API.
Expected behavior
Return "/Users/USERNAME/Movies"
Actual behavior
Returns an empty string
Regression?
No response
Known Workarounds
No response
Configuration
- Microsoft.NETCore.App 5.0.16 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
- macOS Monterey 12.1
- osx.12-x64
Other information
No response