After update form 2.3.0 to 2.5.0 I am getting following exception:
_Setting property Xceed.Wpf.DataGrid.Markup.SharedResourceDictionary.Source raised an exception.
Could not load file or assembly PresentationFramework.Aero, Culture=neutral or one of its dependent elements. System could not find the file.
_
This exception appears only when code is running outside Visual Studio. Seems like problem with assembly dependencies, how to deal with that? I have reverted to 2.3.0 and it works ok.
Comments: ** Comment from web user: PahanMenski **
_Setting property Xceed.Wpf.DataGrid.Markup.SharedResourceDictionary.Source raised an exception.
Could not load file or assembly PresentationFramework.Aero, Culture=neutral or one of its dependent elements. System could not find the file.
_
This exception appears only when code is running outside Visual Studio. Seems like problem with assembly dependencies, how to deal with that? I have reverted to 2.3.0 and it works ok.
Comments: ** Comment from web user: PahanMenski **
Hi, I've faced the same bug. I reproduced it on several systems with Windows 8.1, but only on a single system with Windows 7. It crashes the application when it starts outside Visual Studio.
For some reason, the system cannot find PresentationFramework.Aero assembly by partial name on these systems. Perhaps, some security changes were done in Windows 8.1.
As a workaround, I've subscribed to AppDomain.AssemblyResolve event and load this assembly by strong name. So I guess, loading this assembly by strong name in the toolkit will help.