-
I found several (old) discussions on tackling this problem, but effectively, it still does not seem possible to query those folders in .NET 7:
What's the state of this? I see incorrect "special" folder path determiniation relatively often, and wish this would finally be added to .NET.
Can we finally end the extraordinarily long and sad story about retrieving new user folder paths, or did I just not find the new .NET way to retrieve these? :-) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
There are two API proposals on this topic: #25577 and #554. In the implementation, we can refer to https://docs.microsoft.com/en-us/windows/win32/shell/knownfolderid to find the missing GUIDs in Downloads can also be supported in Desktop Unix ($HOME/Downloads is available in most desktop environments).
|
Beta Was this translation helpful? Give feedback.
There are two API proposals on this topic: #25577 and #554. In the implementation, we can refer to https://docs.microsoft.com/en-us/windows/win32/shell/knownfolderid to find the missing GUIDs in
runtime/src/libraries/Common/src/Interop/Windows/Shell32/Interop.SHGetKnownFolderPath.cs
Line 22 in 57bfe47
Downloads
can also be supported in Desktop Unix ($HOME/Downloads
is available in most desktop environments).