Adding new telerik DLLs adds Microsoft.SharePoint.dll and other sharepoint dlls

2 posts, 0 answers
  1. Sushrut
    Sushrut avatar
    1 posts
    Member since:
    Jul 2016

    Posted 18 Jul Link to this post

    Hello,

    I want to use auto complete box in my project. I was using Telerik.UI.Web dlls of version 2012.1.411.35. But in that versions of Telerik.Web.UI.dll auto complete control was not present. So I tried updating to new Telerik DLLs to veresion 2016.1.225.40.

    But as I add these new DLLs to project, it adds few SharePoint DLLs to bin folder like “Microsoft.SharePoint.dll”, “Microsoft.SharePoint.Search.dll” etc. 

    Then after deploying the web I am receiving error “Could not load file or assembly 'Microsoft.SharePoint.Search' or one of its dependencies. An attempt was made to load a program with an incorrect format.” error on site.

    What should be done so that these SharePoint dlls do not get added to my site.

    Thank you in advance.

  2. Peter Milchev
    Admin
    Peter Milchev avatar
    135 posts

    Posted 20 Jul Link to this post

    Hello,

    Could you double check if you followed correctly the steps described in the Upgrade project article? My guess is that your project has references to the Microsoft SharePoint assemblies and that is why they are added in the bin folder. I would suggest you take a look at this forum thread for more information on how to prevent the copying of the assemblies to the bin folder.

    Regards,
    Peter Milchev
    Telerik by Progress
    Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top