Thursday, August 07, 2008
 
   
 
Welcome to my site

First let me say thanks for stopping by my site. My name is David Hanson-Graville and I am a IT consultant working in the UK. Let me make it clear, I am passionate about technology and specifically .net and its various forms. I've programmed in a range of langages, but I can say, I am now at my happiest when coding with c#. I hope my blog is an enjoyable & educational read and please feel free to email me at David.Hanson@OnTheBlog.net if you have any questions. 

Search Minimize
Print  
Archive Minimize
Print  
Dipstick Survey Minimize
What technology are you most excited about?











Submit Survey  View Results
Print  
Contact me Minimize
Print  
Silverlight News Minimize
silverlight - Google News
Print  
WPF: Could not create an instance of type '{0}' Minimize
Location: BlogsOnTheBlog    
Posted by: David Hanson Fri, 25 Apr 2008 09:10:57 GMT

If you get this error in your designer when working with XAML in Visual Studio 2008...make sure you dont have any visual elements that inherit from an abstract class.  May seem obvious but can be easily missed.

Could not create an instance of type '{0}'

Permalink |  Trackback

Comments (1)   Add Comment
Re: WPF: Could not create an instance of type '{0}'    By entro on Sun, 13 Jul 2008 14:33:15 GMT
Thanx for the tip!!! <br>I was having the same problem... and the fact that my program would run fine... but could not show a specific form in xaml designer was driving me nuts...<br><br>It somehow looks obvious... just after you find out what was wrong with it at the first place....


Your name:
Title:
Comment:
Security Code
Enter the code shown above in the box below
Add Comment   Cancel