This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
I am having an interesting issue that I'm hoping someone could shed light on. Any time we use mindscape wpf controls the xaml designer throws errors. We are using the nightly build of WpfElements 7.0 from 10/19 as well as Visual Studio 2015. One of the errors is:
The project builds just fine, but the xaml designer will sometimes crash with Xaml parsing errors. The other error we have gotten is with the DataGrid. It will also have the above error, but we also get a different xaml designer error that crashes the designer.
at System.Windows.StaticResourceExtension.ProvideValueInternal(IServiceProvider serviceProvider, Boolean allowDeferredReference) at System.Windows.StaticResourceExtension.ProvideValue(IServiceProvider serviceProvider) at MS.Internal.Xaml.Runtime.ClrObjectRuntime.CallProvideValue(MarkupExtension me, IServiceProvider serviceProvider)
I have attached screen shots of the two errors. Any ideas why this is happening? Thanks, Matt |
|
|
Hi Matt, Thanks for contacting us about this. I've read up about it, and seems like the designer in Visual Studio 2015 is quite flaky. I managed to solve the first issue by including a reference to system.configuration in my test project. My logic for doing this is that it is a reference that WPF Elements has, but is not referenced in new application projects by default. Removing this reference again though allowed the issue to remain resolved, so not sure what's going on there. Only after resolving this first issue was I able to reproduce the second issue. Simply restarting Visual Studio then solves the issue though, so again, seems like the VS designer has issues. I hope that helps at least a little. -Jason Fauchelle |
|