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

Runtime error when project output type is Class Library

5 Answers 122 Views
PropertyGrid
This is a migrated thread and some comments may be shown as answers.
AKS
Top achievements
Rank 1
AKS asked on 24 Jan 2013, 10:30 PM
Operating System: Windows 7
Telerik: 2012.2.912.40 (RadControls for WPF)

Issue: After adding RadPropertyGrid control in my WPF Class Library project and running the application,  I get "Could not load file or assembly 'Telerik.Windows.Controls.Data, PublicKeyToken=5803cfa389c90ce7' or one of its dependencies. The system cannot find the file specified."

Note- This works fine if the project type is of Windows application.  As mentioned above, does not work in  a class library project.

5 Answers, 1 is accepted

Sort by
0
Ivan Ivanov
Telerik team
answered on 29 Jan 2013, 04:40 PM
Hi,

We did not manage to reproduce such an issue. Can you please send us a repro project, so that we would be able to debug it on our side?

Regards,
Ivan Ivanov
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
AKS
Top achievements
Rank 1
answered on 01 Feb 2013, 10:30 PM



0
AKS
Top achievements
Rank 1
answered on 04 Feb 2013, 03:42 PM
Solved the issue by adding the same set of dlls to the main project. So it expects both the class library project and the main window project to have the dlls.
0
Aakansha
Top achievements
Rank 1
answered on 18 Sep 2014, 03:50 PM
I am facing the same issue. My main project is class library itself and I have added the dlls. Can somebody help??
0
Dimitrina
Telerik team
answered on 22 Sep 2014, 09:19 AM
Hello,

Would you please check if the assemblies are eventually blocked as that would be a reason why they cannot be resolved?

If not, would it be possible for you to isolate the problem in a demo project and send it to us? That way we will be able to advise further.

Regards,
Dimitrina
Telerik
 
Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
 
Tags
PropertyGrid
Asked by
AKS
Top achievements
Rank 1
Answers by
Ivan Ivanov
Telerik team
AKS
Top achievements
Rank 1
Aakansha
Top achievements
Rank 1
Dimitrina
Telerik team
Share this question
or