Humanizer
Humanizer copied to clipboard
How to stop all cultures from being deployed to output directory?
Hello guys.
First I want to thank you for this amazing library.
Second I noticed that after using it, I see a lot of Humanizer.resource
dll files in a lot of directories in my output directory.
Here's a picture:
My question is, how can I stop these resource files from cluttering my output?
I'm using ASP.NET Core.
Thank you so much.
The Humanizer NuGet package alwayas pulls all languages. If you only need specific languages, you can use that specific NuGet package only: https://github.com/Humanizr/Humanizer/blob/5c3b1341d8fafaea4a9997fae03191548f9c8656/readme.md#specify-lang
As @hangy notes, you can install only a specific language. But if you don't need that either, you can use the default only by referencing Humanizer.Core
. Read more in chapter Install in readme.md:
You can install Humanizer as a nuget package:
English only:
Humanizer.Core
All languages:
Humanizer
@hosseinitabar, please close this issue if this answered your issue.
Install Humanizer.Core only