Is there an easy way to disable, including multiple language packs when using Nuget?

I am using nuget and loading AjaxControlToolkit. The problem is that I do not want to create 20 additional folders in the bin directory for different languages. Each folder has only one file named AjaxControlToolkit.resources.dll. I do not need additional folders, as our application will never be used with anything other than English.

The only way I could omit the files is to follow this: http://blogs.msdn.com/b/webdev/archive/2010/04/22/web-deployment-excluding-files-and-folders-via- the-web-application-s-project-file.aspx where you need to manually add a line to the actual project file. I feel that there must be a better way to do this.

EDIT: This is the line I'm adding to the .csproj file: Bin \ ar; Bin \ CS, Bin \ de, Bin \ es; Bin \ fr; Bin \ he, Bin \ hello, bin \ her; Bin \ JA, bin \ KO; bin \ n; Bin \ pl; Bin \ fr, bin \ RU, bin \ tr-TR, bin \ f-CHS, bin \ f-CHT

+7
c # nuget ajaxcontroltoolkit
source share
1 answer

No, you cannot disable this feature. Nuget simply downloads the archive package and puts the files in which the package package information file says the files should go.

You need to manually omit these files yourself or create your own AjaxToolKit from your source with additional languages ​​that are missing in advance.

+1
source share

All Articles