This project has moved and is read-only. For the latest updates, please go here.


Error dialog drag & drop button on WPF window on VS 2010


VS 2010 SP1 (note I have 2012 Update 4 and 2013 Update 1 installed on the machine too)
Create new WPF App
Open in XAML designer
From toolbox, drag & drop button to the window

Error Dialog
Object reference not set to an instance of an object.

"Object reference not set to an instance of an object."

file attachments

Closed Aug 1, 2014 at 7:42 PM by Zooba


Zooba wrote Mar 20, 2014 at 9:18 PM

It appears that this only occurs the first time when the designer is open.

(The error comes from within the designer, since it does not have the name of the local assembly containing the UI. We may need to lie about our assembly better in VS 2010, but I think we're probably not going to fix this.)