Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

So many directories with lang #471

Closed
BElluu opened this issue Jul 11, 2021 · 7 comments
Closed

So many directories with lang #471

BElluu opened this issue Jul 11, 2021 · 7 comments

Comments

@BElluu
Copy link

BElluu commented Jul 11, 2021

Hello.

  1. Can I delete directories with langs which I do not use? If not, can I move them all to new directory?
  2. If no and no, please refactor it and scale them into one place (directory).
    image
@ravibpatel
Copy link
Owner

ravibpatel commented Jul 12, 2021

You can remove them. They are not required. Are you compiling it from source?

@BElluu
Copy link
Author

BElluu commented Jul 12, 2021

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

@ravibpatel
Copy link
Owner

You can remove all the language directories. They are not necessary.

@BElluu
Copy link
Author

BElluu commented Jul 12, 2021

Perfect! Thank you so much and have a nice day!

@BElluu BElluu closed this as completed Jul 12, 2021
@BElluu BElluu reopened this Sep 14, 2021
@BElluu
Copy link
Author

BElluu commented Sep 14, 2021

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?

@ravibpatel
Copy link
Owner

You can add msbuild task like this that can remove the folders when you compile it.

@hawkeye-stan
Copy link

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>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants