Got "Are you missing assembly reference" error after adding compressed assemblies.

Thread is closed for posting
9 posts, 0 answers
  1. Kaustubh Wadi
    Kaustubh Wadi avatar
    26 posts
    Member since:
    Apr 2010

    Posted 07 Jul 2010 Link to this post

    Hi All,
        I have compressed the 'Telerik.Windows.Controls.dll' assembly using Assembly Minifier. But when i added this assembly in my project, i got following errors while building the project:

    1. The type or namespace name 'SelectionChangedEventArgs' does not exist in the namespace 'Telerik.Windows.Controls' (are you missing an assembly reference?) 
    2. 'Telerik.Windows.Controls.RadComboBox' does not contain a definition for 'ItemsSource' and no extension method 'ItemsSource' accepting a first argument of type 'Telerik.Windows.Controls.RadComboBox' could be found (are you missing a using directive or an assembly reference?)
    3. 'Telerik.Windows.Controls.RadComboBox' does not contain a definition for 'SelectedIndex' and no extension method 'SelectedIndex' accepting a first argument of type 'Telerik.Windows.Controls.RadComboBox' could be found (are you missing a using directive or an assembly reference?)

        When i deleted this assembly and added the uncompressed assembly, it works fine.
        Why my project is not taking compressed assembly? Any Idea?

    Thanks,
    Kaustubh.

  2. Valentin.Stoychev
    Admin
    Valentin.Stoychev avatar
    2198 posts

    Posted 07 Jul 2010 Link to this post

    Hello Kaustubh Wadi,

    Thank you for using the Minifier. Can you please send us the ZIP file that you downloaded from the application. It contains some debug info we can investigate. Thanks!

    All the best,
    Valentin.Stoychev
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. DevCraft banner
  4. Kaustubh Wadi
    Kaustubh Wadi avatar
    26 posts
    Member since:
    Apr 2010

    Posted 07 Jul 2010 Link to this post

    Hello Valentin.Stoychev ,
        Thanks for your response. Can you please tell me how can i send that file to you?
        I tried to attach the file here but, it gives "File is not of correct type" error.
     
    Thanks,
    Kaustubh.
  5. Valentin.Stoychev
    Admin
    Valentin.Stoychev avatar
    2198 posts

    Posted 07 Jul 2010 Link to this post

    Hello Kaustubh Wadi,

    You can open a support ticket and send the zip there. Or you can open the zip file and find the XML file that is located there and paste its content here.

    Thanks i nadvance for your cooperation.

    Kind regards,
    Valentin.Stoychev
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  6. Kaustubh Wadi
    Kaustubh Wadi avatar
    26 posts
    Member since:
    Apr 2010

    Posted 07 Jul 2010 Link to this post

    Hello Valentin.Stoychev ,
        Thanks for your quick response.
        I have raised the support ticket as you said.

    Regards,
    Kaustubh.
  7. Miroslav
    Miroslav avatar
    2 posts
    Member since:
    Jun 2010

    Posted 07 Jul 2010 Link to this post

    Hello Kaustubh Wadi,

    You should upload both assemblies - Telerik.Windows.Controls.dll and Telerik.Windows.Controls.Input.dll and then select the controls you needed (like RadComboBox...). That way the what is needed in the Controls assembly will stay as well (like SelectionChangedEventArgs and so on.)

    Can you give it a try and tell us if you have further problems.
  8. Ben Hayat
    Ben Hayat avatar
    892 posts
    Member since:
    May 2008

    Posted 07 Jul 2010 Link to this post

    You should upload both assemblies - Telerik.Windows.Controls.dll and
    That's a good point!
    Miro, as a general rule, should we always load Telerik.Windows.Controls.dll?
    Or perhaps have a guideline what dlls, should be paired with another dll?
    ..Ben
  9. Kaustubh Wadi
    Kaustubh Wadi avatar
    26 posts
    Member since:
    Apr 2010

    Posted 08 Jul 2010 Link to this post

    Thanks Miroslav for your suggestion.
    I have uploaded four assemblies. That are,
    1. Telerik.Windows.Controls.dll
    2. Telerik.Windows.Controls.Gauge.dll
    3. Telerik.Windows.Controls.Input.dll
    4. Telerik.Windows.Controls.Navigation.dll

        And added the compressed assemblies that are downloaded from Minifier application.
        But still I got the same error. Not getting what I am missing?

    Regards,
    Kaustubh.

  10. Miro Miroslavov
    Admin
    Miro Miroslavov avatar
    588 posts

    Posted 08 Jul 2010 Link to this post

    Hello Kaustubh Wadi,

    You may need to clean the project a couple of times and rebuild also.
    If doesn't help ,can you paste me the content of MinifyInfo.txt (comes in the zip file) file please? That way i can check what happened.

    @Ben - To get best results (and in some cases to work properly) you should upload all referenced by your project assemblies.
    If you just start a new project - you should upload all internally referenced assemblies.
    For example if you want to minify RadRibbonBar you should upload the internally referenced assemblies like:
    Telerik.Windows.Controls.dll
    Telerik.Windows.Controls.Input.dll
    Telerik.Windows.Controls.Navigation.dll
    and of course Telerik.Windows.Controls.RibbonBar.dll

    The ones that you also reference in your applications when using RadRibbonBar.



    Regards,
    Miro Miroslavov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Back to Top
DevCraft banner