So many directories with lang
Hello.
- Can I delete directories with langs which I do not use? If not, can I move them all to new directory?
- If no and no, please refactor it and scale them into one place (directory).
You can remove them. They are not required. Are you compiling it from source?
Hi, I added AutoUpdater.NET using NuGet and then Pulished to directory. Maybe I did something wrong and that's why I have that directories :) Sorry, newbie here :D
You can remove all the language directories. They are not necessary.
Perfect! Thank you so much and have a nice day!
Hi @ravibpatel I allowed myself to repopen this issue. Every new version which I compile, this directories with langs are created. Could it be that these folders weren't created during compilation?
You can add msbuild task like this that can remove the folders when you compile it.
Finally found another answer in my project. You can add the following element in PropertyGroup in csproj file and the language folders will not be there when build or publish:
<PropertyGroup>
......
<SatelliteResourceLanguages>en</SatelliteResourceLanguages>
</PropertyGroup>