When I use Telerik.Windows.Documents.Core.dll(in this file path:C:\Program Files (x86)\Telerik\UI for WPF Q2 2016\Binaries\WPF45) and Telerik.Web.Spreadsheet.dd(in this file path: C:\Program Files (x86)\Telerik\UI for ASP.NET MVC R3 2016\spreadsheet\binaries\net40\Telerik.Web.Spreadsheet.dll), then will with this problem Telerik.Windows.Documents.Core, Version=2016.3.1021.40, Culture=neutral, PublicKeyToken=5803cfa389c90ce7”或它的某一个依赖项。找到的程序集清单定义与程序集引用不匹配。 (异常来自 HRESULT:0x80131040)":"Telerik.Windows.Documents.Core, Version=2016.3.1021.40. This example in the website :http://demos.telerik.com/aspnet-mvc/spreadsheet/server-side-import-export select file can not be use!
Please reply me quickly ,thank you!
9 Answers, 1 is accepted
According to the Spreadsheet server-side processing, the Telerik Document Processing libraries are distributed as part of the UI for ASP.NET MVC and are available for the Kendo UI Enterprise and DevCraft bundles. They are located in the "C:\Program Files (x86)\Telerik\UI for ASP.NET MVC [Version]\spreadsheet\binaries\net40" folder.
Would you please check if referencing the correct assemblies solves your issue?
Also, would you please confirm that you are using UI for ASP.NET MVC?
Regards,
Peter Milchev
Telerik by Progress
C:\Program Files (x86)\Telerik\UI for WPF Q2 2016\Binaries\WPF45\Telerik.Windows.Documents.Core.dll
2016.2.606.45
v4.0.30319
C:\Program Files (x86)\Telerik\UI for ASP.NET MVC R3 2016\spreadsheet\binaries\net40\Telerik.Web.Spreadsheet.dll
2016.3.1114.40
v4.0.30319
The assembly from the WPF folder are not needed in an MVC project. Removing the WPF references and adding only the necessary ones from the "C:\Program Files (x86)\Telerik\UI for ASP.NET MVC R3 2016\spreadsheet\binaries\net40\" folder should solve your problem.
Basically, the UI for WPF and UI for ASP.NET MVC are two completely different and unrelated suites. If you are developing an ASP.NET MVC project, then only the UI for ASP.NET MVC suite is necessary.
Also, all referenced assemblies should be from the same release (for example R3) and should have the same .NET version (for example 4.0).
I would also recommend you to review the local demos that you should have installed in the "C:\Program Files (x86)\Telerik\UI for ASP.NET MVC R3 2016\wrappers\aspnetmvc\Examples" folder.
Regards,
Peter Milchev
Telerik by Progress