wpf visual studio designer won't load user controls -


is a container for the scene three user control down, and I started getting this error after application resources restructuring:

  Error 295 could not create an instance of 'FilterPanel' type. C: ... \ ProjectPickerWindow.xaml  

There is XAML to view here:

   & Lt; Local: StatusAndButtons DockPanel.Dock = "Down" DataContext = "{Binding}" margin = "3, 7" /> & Lt; Local: listing datacontex = "{binding}" margin = "3, 0" /> & Lt; / DockPanel & gt;  

The app is working fine, and I can undo the refactoring, but I do not like.

Can anyone tell me how to display it in a designer?

Cheers, Beryllless

=== ADD'L INFO @ Andrew ===

Great General Checklist, if not fixed yet.
1) There are no mute binding errors 2) Designer works great After filterPanel comments out! 3) no meditation behavioral behavior; All tests last 4) Yes, I have the exact Rifactor may not leave the pieces enough bread for Nakhane, but the major ones:
- Find all the converters for the presentation of own resources - - FilterPanel reference generic.xaml, which all merge Snsadnsnsadn made it referenced named a specific DIC Listedstail.aksmel, which is used for converters

a sub In the form of Karan, any device resources help in finding problems (Snop, Mole?)? There to find wrong behaviors ?? Something like FxCop

Not yet an answer, but as some suggestions there is about the app There is not enough information without knowing more: (posted as a reply as I thought too long for the comment).

These designers only have a pain to track issues as the root cause, often not specifically related to that error.

It seems that the filter panel has a dependency on the object that does not exist yet. I usually found them because they did not properly solve the resources properly or put the ValueConverter parameters properly or did not remove them initially in design time.

In the ascending order of speed - things to try: 1) Run the app and to see the output window, make sure there are no mute binding errors. 2) Narrow this issue - if you comment on the line referring to the filter panel, then the designer works? Often the next line error is cultivated 3) Although the app seems to run properly, but has it introduced different behaviors? 4) Backtrack through your restructuring to detect the problem.

UPDATE:

UPDATE:

If you are not already, then I have the expression Blend has been found to be more tolerant, but does not necessarily have more vocabulary.

may need to add the ThemeInfo custom attribute to its custom control so that they can find their resources - although I think the mechanism was not working, the app would throw exceptions. Any announcement

[Assembly: ThemeInfo (// theme specific resource, // generic resource)]


Comments

Popular posts from this blog

c# - How to capture HTTP packet with SharpPcap -

php - Multiple Select with Explode: only returns the word "Array" -

php - jQuery AJAX Post not working -