WPF InitializeComponent Error
Recently, when adding WPF features to a windows class library I created, I ran into an issue where there was an error with the InitializeComponent method of the WPF user control in Visual Studio 2008. I couldn't figure out why this was an error, as the use of that method hasn't changed with WPF. After looking around, I found this solution: http://blogs.msdn.com/mhendersblog/archive/2005/10/03/476536.aspx. Essentially, an import statement needs added to the <Project> element, as described in detail in that blog entry.