{"id":4968,"date":"2014-03-30T17:18:57","date_gmt":"2014-03-30T17:18:57","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/03\/30\/strange-ribbon-error-in-visual-studio-when-building-collection-of-common-programming-errors\/"},"modified":"2014-03-30T17:18:57","modified_gmt":"2014-03-30T17:18:57","slug":"strange-ribbon-error-in-visual-studio-when-building-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2014\/03\/30\/strange-ribbon-error-in-visual-studio-when-building-collection-of-common-programming-errors\/","title":{"rendered":"Strange Ribbon error in Visual Studio when building-Collection of common programming errors"},"content":{"rendered":"<p>I&#8217;m receiving a strange error in Visual Studio when building my WPF application with .NET 4.5 in Visual Studio 11.<\/p>\n<p>My WPF XAML markup is as follows:<\/p>\n<pre><code>\n    \n        \n            \n            \n        \n        \n            \n                \n                \n            \n            \n                \n                    \n                        \n                            \n                                \n                                    \n                                    \n                                    \n                                    \n                                    \n                                \n                            \n                        \n                    \n                    \n                        \n                        \n                        \n                    \n                \n            \n            \n            \n        \n        \n\n        \n    \n\n<\/code><\/pre>\n<p>Now, when I build, I receive the error:<\/p>\n<p>Unknown build error, &#8216;Method &#8216;get_Command&#8217; in type &#8216;System.Windows.Controls.Ribbon.RibbonGallery&#8217; from assembly &#8216;System.Windows.Controls.Ribbon, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089&#8217; does not have an implementation.<\/p>\n<p>When I remove the RibbonGallery element from the code, it compiles and runs just fine.<\/p>\n<p>It should probably be noted that I can easily see the designer view rendering just fine in Visual Studio with the RibbonGallery element inside of it. It just fails during build.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;m receiving a strange error in Visual Studio when building my WPF application with .NET 4.5 in Visual Studio 11. My WPF XAML markup is as follows: Now, when I build, I receive the error: Unknown build error, &#8216;Method &#8216;get_Command&#8217; in type &#8216;System.Windows.Controls.Ribbon.RibbonGallery&#8217; from assembly &#8216;System.Windows.Controls.Ribbon, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089&#8217; does not have an implementation. When [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-4968","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/4968","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=4968"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/4968\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=4968"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=4968"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=4968"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}