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. (Last updated on: November 16, 2018).
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:





121832 Jan 29,2016 12:45 PM UTC Feb 1,2016 12:21 PM UTC WPF 2
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\\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
  Message=Set property 'System.Windows.ResourceDictionary.Source' threw an exception.
       at System.Windows.Markup.XamlReader.RewrapException(Exception e, IXamlLineInfo lineInfo, Uri baseUri)
  InnerException: System.IO.FileNotFoundException
       Message=Could not load file or assembly 'Syncfusion.Shared.WPF, Culture=neutral' or one of its dependencies. The system cannot find the file specified.
       FileName=Syncfusion.Shared.WPF, Culture=neutral
       FusionLog==== Pre-bind state information ===
LOG: DisplayName = Syncfusion.Shared.WPF, Culture=neutral
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.


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

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