We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Set property 'System.Windows.ResourceDictionary.Source' threw an exception.

Thread ID:

Created:

Updated:

Platform:

Replies:

121832 Jan 29,2016 12:45 PM UTC Feb 1,2016 12:21 PM UTC WPF 2
loading
Tags: SfDataGrid
Nagul Veluppillai
Asked On January 29, 2016 12:45 PM UTC

I'm attempting to use SfDataGrid in an application, but I get the below exception in InitializeComponent(). Syncfusion.Shared.WPF has already been added as a reference and is resolved to "C:\Program Files (x86)\Syncfusion\Essential Studio\13.4.0.53\Assemblies\4.5\Syncfusion.Shared.WPF.dll" in the Properties tab. What could be causing this exception? I have added Syncfusion.SfGrid.WPF and Syncfusion.Shared.WPF as references. 

System.Windows.Markup.XamlParseException occurred
  HResult=-2146233087
  Message=Set property 'System.Windows.ResourceDictionary.Source' threw an exception.
  Source=PresentationFramework
  LineNumber=0
  LinePosition=0
  StackTrace:
       at System.Windows.Markup.XamlReader.RewrapException(Exception e, IXamlLineInfo lineInfo, Uri baseUri)
  InnerException: System.IO.FileNotFoundException
       HResult=-2147024894
       Message=Could not load file or assembly 'Syncfusion.Shared.WPF, Culture=neutral' or one of its dependencies. The system cannot find the file specified.
       Source=mscorlib
       FileName=Syncfusion.Shared.WPF, Culture=neutral
       FusionLog==== Pre-bind state information ===
LOG: DisplayName = Syncfusion.Shared.WPF, Culture=neutral
 (Partial)
WRN: Partial binding information was supplied for an assembly:
WRN: Assembly Name: Syncfusion.Shared.WPF, Culture=neutral | Domain ID: 1
WRN: A partial bind occurs when only part of the assembly display name is provided.


Nagul Veluppillai
Replied On January 29, 2016 02:28 PM UTC

Urgh! Ignore this. The problem was the references weren't added to the project that builds the executable.

Ambarish Srinivasan [Syncfusion]
Replied On February 1, 2016 12:21 PM UTC

Hi Nagul,
 
Thank you for the update.
 
Regards,
Ambarish.

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;