Why does adding a reference to AjaxControlToolkit.dll add eleventy bazillion language subdirectories in my bin/ dir?

Last post 02-07-2008 3:00 PM by strazz. 16 replies.

Sort Posts:

  • Why does adding a reference to AjaxControlToolkit.dll add eleventy bazillion language subdirectories in my bin/ dir?

    04-30-2007, 7:15 PM
    • Member
      24 point Member
    • swrobel
    • Member since 04-30-2007, 11:12 PM
    • Posts 23
    Adding a reference to the latest version of AjaxControlToolkit.dll to my application adds the .pdb file to my bin directory and Solution Explorer (annoying) and all of the language subdirs as well (really annoying).  Why do I need the ar, de, es, fr, etc dirs if I don't want them?  I've tried deleting the junk and just leaving AjaxControlToolkit.dll but it all comes back when I compile. Agh!
  • Re: Why does adding a reference to AjaxControlToolkit.dll add eleventy bazillion language subdirectories in my bin/ dir?

    05-02-2007, 6:56 PM
    • Member
      24 point Member
    • swrobel
    • Member since 04-30-2007, 11:12 PM
    • Posts 23

    Anybody out there?

  • Re: Why does adding a reference to AjaxControlToolkit.dll add eleventy bazillion language subdirectories in my bin/ dir?

    05-07-2007, 4:29 PM
    • Member
      24 point Member
    • swrobel
    • Member since 04-30-2007, 11:12 PM
    • Posts 23
    Pretty high quality *support* forum here...
  • Re: Why does adding a reference to AjaxControlToolkit.dll add eleventy bazillion language subdirectories in my bin/ dir?

    05-07-2007, 5:47 PM
    • Member
      269 point Member
    • diadem_2k
    • Member since 12-11-2006, 6:04 PM
    • Posts 313

    Even i had the same problem...i don;t know wht i did but somehow one folder with name "HDI-02-GetStarted-AJAX-Toolkit-CS" got created and in that folder i see the same .dll and by using that that toolkit dll solved my problem...

    if you want i send that .dll to you.... 

  • Re: Why does adding a reference to AjaxControlToolkit.dll add eleventy bazillion language subdirectories in my bin/ dir?

    05-08-2007, 6:08 AM
    • Participant
      758 point Participant
    • gbetsos
    • Member since 05-07-2007, 11:26 AM
    • Greece
    • Posts 163

    swrobel:
    Pretty high quality *support* forum here...

    I regret that I have to agree with you Sad I also have exactly the same problem with all those

    redundant folders like you. 

    Much ado about nothing
  • Re: Why does adding a reference to AjaxControlToolkit.dll add eleventy bazillion language subdirectories in my bin/ dir?

    05-08-2007, 6:00 PM
    • Member
      24 point Member
    • swrobel
    • Member since 04-30-2007, 11:12 PM
    • Posts 23
    Does anyone from MSFT actually monitor this forum?  If anyone does, hopefully now they can see that this isn't just a problem with me.
  • Re: Why does adding a reference to AjaxControlToolkit.dll add eleventy bazillion language subdirectories in my bin/ dir?

    05-08-2007, 6:21 PM
    • Contributor
      2,610 point Contributor
    • kirtid
    • Member since 11-18-2006, 12:41 AM
    • Redmond
    • Posts 658
    • AspNetTeam
    You can safely remove references to all satellite dlls for languages you do not care about. If you do not want them in the first place then you could rebuild the Toolkit dll after removing those resx files from the ScriptResources folder in the AjaxControlToolkit project, either by deleting them or excluding them from the project. We have received feedback on this and we may, for our next release, set the default to not build all languages. If you think this is high priority please vote for this issue.
    Kirti Deshpande
    Program Manager, Silverlight and ASP.NET AJAX
    Microsoft

    This posting is provided "AS IS" with no warranties, and confers no rights.
  • Re: Why does adding a reference to AjaxControlToolkit.dll add eleventy bazillion language subdirectories in my bin/ dir?

    05-08-2007, 8:00 PM
    • Member
      24 point Member
    • swrobel
    • Member since 04-30-2007, 11:12 PM
    • Posts 23
    I've tried removing them, but they come right back each time I rebuild my application, which is quite annoying.  I'm definitely voting for this issue.
  • Re: Why does adding a reference to AjaxControlToolkit.dll add eleventy bazillion language subdirectories in my bin/ dir?

    05-08-2007, 9:13 PM
    • Contributor
      2,610 point Contributor
    • kirtid
    • Member since 11-18-2006, 12:41 AM
    • Redmond
    • Posts 658
    • AspNetTeam

    Try building the Toolkit dll without those ScriptResources and then reference that dll.

    Kirti Deshpande
    Program Manager, Silverlight and ASP.NET AJAX
    Microsoft

    This posting is provided "AS IS" with no warranties, and confers no rights.
  • Re: Why does adding a reference to AjaxControlToolkit.dll add eleventy bazillion language subdirectories in my bin/ dir?

    06-14-2007, 12:49 PM
    • Member
      24 point Member
    • swrobel
    • Member since 04-30-2007, 11:12 PM
    • Posts 23

     Is this fixed in the latest release?

  • Re: Why does adding a reference to AjaxControlToolkit.dll add eleventy bazillion language subdirectories in my bin/ dir?

    06-14-2007, 1:42 PM
    • Contributor
      2,610 point Contributor
    • kirtid
    • Member since 11-18-2006, 12:41 AM
    • Redmond
    • Posts 658
    • AspNetTeam

    If you are building/using the debug Toolkit dll now with release 10606 the assemblies should not be added.  The bug 8667 has been resolved fixed.

    Kirti Deshpande
    Program Manager, Silverlight and ASP.NET AJAX
    Microsoft

    This posting is provided "AS IS" with no warranties, and confers no rights.
  • Re: Why does adding a reference to AjaxControlToolkit.dll add eleventy bazillion language subdirectories in my bin/ dir?

    06-14-2007, 3:20 PM
    • Member
      269 point Member
    • diadem_2k
    • Member since 12-11-2006, 6:04 PM
    • Posts 313

     could you tell me how exactly i need to do this to avoid showing those 11 dlls...coz i have downloaded new version and when i try to pull the DLL from SampleWebSite\Bin folder, i still see those 11 DLLs...

    this will help me alot....could you guide me here.... 

  • Re: Why does adding a reference to AjaxControlToolkit.dll add eleventy bazillion language subdirectories in my bin/ dir?

    06-14-2007, 8:47 PM
    • Contributor
      2,610 point Contributor
    • kirtid
    • Member since 11-18-2006, 12:41 AM
    • Redmond
    • Posts 658
    • AspNetTeam

    See this forum post. You need to reference the debug Toolkit dll if you do not want all those dlls. Ship still has them by default.

    Kirti Deshpande
    Program Manager, Silverlight and ASP.NET AJAX
    Microsoft

    This posting is provided "AS IS" with no warranties, and confers no rights.
  • Re: Why does adding a reference to AjaxControlToolkit.dll add eleventy bazillion language subdirectories in my bin/ dir?

    06-28-2007, 12:55 PM
    • Member
      24 point Member
    • swrobel
    • Member since 04-30-2007, 11:12 PM
    • Posts 23

    There needs to be a better solution for this.  Can't people just add them manually if they want to use them?

  • Re: Why does adding a reference to AjaxControlToolkit.dll add eleventy bazillion language subdirectories in my bin/ dir?

    06-28-2007, 1:18 PM
    • Contributor
      2,610 point Contributor
    • kirtid
    • Member since 11-18-2006, 12:41 AM
    • Redmond
    • Posts 658
    • AspNetTeam

    If you are developing using the Toolkit dll it makes sense to have the source version of the Toolkit in case you want to browse the code to understand it better or fix up issues in the Toolkit for you. In that case the Toolkit debug dll is used and it does not add the umpteen resource files to your bin folder. Once you think your app is ready to go you can build a release Toolkit dll, reference that and publish your site. You are getting localization for free.

    To summarize you have these options to avoid the resources dll and they are not too hard.

    • Build using the debug Toolkit dll during development and you won't get all this and use the ship dll only when deploying your site
    • Build a ship version of the Toolkit by deleting the resources files for languages you do not care about and then reference it.

     

    Kirti Deshpande
    Program Manager, Silverlight and ASP.NET AJAX
    Microsoft

    This posting is provided "AS IS" with no warranties, and confers no rights.
Page 1 of 2 (17 items) 1 2 Next >