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

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

1 Answer 131 Views
AutoCompleteBox
This is a migrated thread and some comments may be shown as answers.
Sushrut
Top achievements
Rank 1
Sushrut asked on 18 Jul 2016, 06:00 AM

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.

1 Answer, 1 is accepted

Sort by
0
Peter Milchev
Telerik team
answered on 20 Jul 2016, 03:45 PM
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.
Tags
AutoCompleteBox
Asked by
Sushrut
Top achievements
Rank 1
Answers by
Peter Milchev
Telerik team
Share this question
or