Runtime error when project output type is Class Library

6 posts, 0 answers
  1. AKS
    AKS avatar
    3 posts
    Member since:
    Jan 2013

    Posted 24 Jan 2013 Link to this post

    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.
  2. Ivan Ivanov
    Admin
    Ivan Ivanov avatar
    1128 posts

    Posted 29 Jan 2013 Link to this post

    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.

  3. UI for WPF is Visual Studio 2017 Ready
  4. AKS
    AKS avatar
    3 posts
    Member since:
    Jan 2013

    Posted 01 Feb 2013 Link to this post




  5. AKS
    AKS avatar
    3 posts
    Member since:
    Jan 2013

    Posted 04 Feb 2013 Link to this post

    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.
  6. Aakansha
    Aakansha avatar
    20 posts
    Member since:
    Sep 2014

    Posted 18 Sep 2014 Link to this post

    I am facing the same issue. My main project is class library itself and I have added the dlls. Can somebody help??
  7. Dimitrina
    Admin
    Dimitrina avatar
    3769 posts

    Posted 22 Sep 2014 Link to this post

    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.
     
Back to Top
UI for WPF is Visual Studio 2017 Ready