Using trailing slash in ResourcesPath breaks resources reoslution.
Open
area-mvc
- Dominant language
- C#
- Stars
- 38.4k
- Forks
- 10.9k
- Avg merge
- 2d 6h
- Merged PRs (30d)
- 290
Description
### Is there an existing issue for this?
- [X] I have searched the existing issues
### Describe the bug
If I use trainling slash:
```
builder.Services.AddLocalization(cfg => "Resources/");
```
`IStringLocalizer` cannot find resources. If I omit the slash, everything works fine.
### Expected Behavior
Trainling slash should not affect the behavior.
### Steps To Reproduce
_No response_
### Exceptions (if any)
_No response_
### .NET Version
8.0.303
### Anything else?
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.