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

Problem with Assembly References

1 Answer 502 Views
EntityFrameworkDataSource
This is a migrated thread and some comments may be shown as answers.
Winfried
Top achievements
Rank 1
Winfried asked on 03 Apr 2015, 10:47 PM

Hello,

i installed the old WPF release 2015.1.225.45 and reinstalled the version 2015.1.401.45 three times, because the demos named Telerik_UI_for_WPF_2015_1_0225_Demos only showed blank screens.

In Visualstudio 2013 Community Release under Windows 8.1 Pro 64 bit german, the telerik assemblies are listed 3 times with the same version (2015.1.401.45) when i add them over <References Add> /Assemblies/Extensions:

http://w2ww.de/downloads/TelerikMA.png
Additional the Assembly Telerik.Windows.Controls.EntityFramework60.dll is not listed. When i make a new Telerik WPF project, the dll is offered:

http://w2ww.de/downloads/TelerikMA.png

I added the Telerik.Windows.Controls.EntityFramework60.dll  assembly by browsing to:
C:\Program Files (x86)\Telerik\UI for WPF Q1 2015\Binaries\WPF45

When i build, i got the following error outout:


1>c:\Program
Files (x86)\Telerik\UI for WPF Q1
2015\Binaries\WPF45\Telerik.Windows.Controls.EntityFramework60.dll : error
CS1705: Assembly 'Telerik.Windows.Controls.EntityFramework60,
Version=2015.1.401.45, Culture=neutral, PublicKeyToken=5803cfa389c90ce7' uses
'Telerik.Windows.Controls, Version=2015.1.401.45, Culture=neutral,
PublicKeyToken=5803cfa389c90ce7' which has a higher version than referenced
assembly 'Telerik.Windows.Controls, Version=2015.1.225.45, Culture=neutral,
PublicKeyToken=5803cfa389c90ce7'

==========
Build: 0 succeeded, 1 failed, 4 up-to-date, 0 skipped ==========

 When i replace the Telerik.Windows.Controls.EntityFramework60.dll with Telerik.Windows.Controls.EntityFramework.dll. I get the following error:


1>------
Build started: Project: RAEPlayer, Configuration: Debug x86 ------

1>C:\Program
Files (x86)\MSBuild\12.0\bin\Microsoft.Common.CurrentVersion.targets(1697,5):
warning MSB3277: Found conflicts between different versions of the same
dependent assembly that could not be resolved. 
These reference conflicts are listed in the build log when log verbosity
is set to detailed.

1>C:\Projects\RAEPlayer\RAEPlayer\Controller.cs(29,16,29,44):
error CS0246: The type or namespace name 'RadEntityFrameworkDataSource' could
not be found (are you missing a using directive or an assembly reference?)

==========
Build: 0 succeeded, 1 failed, 4 up-to-date, 0 skipped ==========

I use a RadEntityFrameworkDataSource

I added the following to the project file and restarted Visualstudio:

<PropertyGroup>

<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>

I still got this error:


1>------
Build started: Project: RAEPlayer, Configuration: Debug x86 ------

1>C:\Program
Files (x86)\MSBuild\12.0\bin\Microsoft.Common.CurrentVersion.targets(1697,5):
warning MSB3277: Found conflicts between different versions of the same
dependent assembly that could not be resolved. 
These reference conflicts are listed in the build log when log verbosity
is set to detailed.

1>C:\Projects\RAEPlayer\RAEPlayer\MainWindow.xaml(34,119):
error MC1000: Unknown build error, 'Cannot resolve dependency to assembly
'Telerik.Windows.Data, Version=2015.1.225.45, Culture=neutral,
PublicKeyToken=5803cfa389c90ce7' because it has not been preloaded. When using
the ReflectionOnly APIs, dependent assemblies must be pre-loaded or loaded on
demand through the ReflectionOnlyAssemblyResolve event. Line 34 Position 119.'

==========
Build: 0 succeeded, 1 failed, 4 up-to-date, 0 skipped ==========

Anyone a hint?

Regards Winfried Wille

email: ww@w2ww.de


1 Answer, 1 is accepted

Sort by
0
Dimitrina
Telerik team
answered on 06 Apr 2015, 12:00 PM
Hello Winfried,

I am sorry to hear you experience such an issue with running the examples. The error means that there is an assembly 'Telerik.Windows.Controls' with version (2015.1.225.45) different that the version on the 'Telerik.Windows.Controls.EntityFramework60' (2015.1.401.45).
I would suggest you uninstalling the previous version (2015.1.225.45), Clean, ensure all the references are resolved and Rebuild the solution.
You can also find attached a video illustrating how to run the demos successfully.

Regards,
Dimitrina
Telerik
 

See What's Next in App Development. Register for TelerikNEXT.

 
Tags
EntityFrameworkDataSource
Asked by
Winfried
Top achievements
Rank 1
Answers by
Dimitrina
Telerik team
Share this question
or