This is a migrated thread and some comments may be shown as answers.

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

8 Answers 766 Views
Telerik Minifier
This is a migrated thread and some comments may be shown as answers.
Kaustubh Wadi
Top achievements
Rank 1
Kaustubh Wadi asked on 07 Jul 2010, 08:06 AM
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.

8 Answers, 1 is accepted

Sort by
0
Valentin.Stoychev
Telerik team
answered on 07 Jul 2010, 08:11 AM
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
0
Kaustubh Wadi
Top achievements
Rank 1
answered on 07 Jul 2010, 01:39 PM
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.
0
Valentin.Stoychev
Telerik team
answered on 07 Jul 2010, 01:42 PM
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
0
Kaustubh Wadi
Top achievements
Rank 1
answered on 07 Jul 2010, 01:53 PM
Hello Valentin.Stoychev ,
    Thanks for your quick response.
    I have raised the support ticket as you said.

Regards,
Kaustubh.
0
Miroslav
Top achievements
Rank 1
answered on 07 Jul 2010, 03:07 PM
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.
0
Ben Hayat
Top achievements
Rank 2
answered on 07 Jul 2010, 04:17 PM
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
0
Kaustubh Wadi
Top achievements
Rank 1
answered on 08 Jul 2010, 06:34 AM
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.

0
Miro Miroslavov
Telerik team
answered on 08 Jul 2010, 10:18 AM
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
Tags
Telerik Minifier
Asked by
Kaustubh Wadi
Top achievements
Rank 1
Answers by
Valentin.Stoychev
Telerik team
Kaustubh Wadi
Top achievements
Rank 1
Miroslav
Top achievements
Rank 1
Ben Hayat
Top achievements
Rank 2
Miro Miroslavov
Telerik team
Share this question
or