Add Maui FileSystem LayoutRenderer
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 45/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- csharp
- Domain
- observability-sre
Research direction
Start by reading the existing Special Folder Layout Renderer and the linked .NET MAUI file-system helper documentation. Implement a Maui FileSystem LayoutRenderer that resolves CacheDirectory and AppDataDirectory on MAUI, with AppContext.BaseDirectory for .NET Standard and other platforms; done means these paths are returned correctly.
Written by the indexing model from the issue text.
Description
Cache directory (Returns the LocalCacheFolder directory)
FileSystem.Current.CacheDirectory;
C:/Users/{MyName}/AppData/Local/Packages/{GUID}_{hash}/LocalCache/
App data directory (Returns the LocalFolder directory that is backed up to the cloud)
FileSystem.Current.AppDataDirectory;
C:/Users/{MyName}/AppData/Local/Packages/{GUID}_{hash}/LocalState/
For NetStandard (and others) then it can just return:
System.AppContext.BaseDirectory
Notice MAUI performs virtualization so when resolving SpecialFolder.LocalApplicationData then it automatically redirect to custom folder:
C:/Users/{MyName}/AppData/Local/Packages/{GUID}_{hash}/LocalCache/
- Dominant language
- C#
- Stars
- 20
- Forks
- 4
- Avg merge
- 16h 40m
- Merged PRs (30d)
- 1
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from NLog/NLog.Targets.MauiLog
-
Add unit testsPossibly taken @304NotModified claimed this 8 days ago. Open
NLog/NLog.Targets.MauiLog#48 · 1 assignee ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 45/100
NLog/NLog.Targets.MauiLog#34 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 38/100
NLog/NLog.Targets.MauiLog#14 · 1 reaction ·
All issues in NLog/NLog.Targets.MauiLog
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Maintainers usually reply within 1 day
-
[中] 更新器下载缓存从不清理Open
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Remove duplicate Vimeo DI registration; use NimblePros.Vimeo AddVimeoServices and upgrade packageOpen
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
DevBetterCom/DevBetterWeb#1486 · 1 comment ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
NimblePros/eShopOnWeb#333 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Natvs/Nt.Automaton#33 ·