Outlook Ribbon(Xml) and Ribbon(Visual Designer) not working in same project

I am creating outlook add-in in that I have context menu and task pane and a Ribbon button. I have created context menu using Ribbon(Xml) control.

Now I want to create a Ribbon toggle button for showing or hiding the task pane. I have find the code for showing or hiding the task pane from this link.

Now I have added that Ribbon(Visual designer) in my project but it is not working.

When I Use Ribbon(Xml) or Ribbon(Visual Designer) both in same project than Xml ribbon works but visual designer not working.

So my question is. How can I use both Ribbons in the same project?

Any help will be appreciated.


Need Your Help

using $and with $match in mongodb

mongodb match

I am trying to use the following query in MongoDB but it is not running.

Clearing a treeView crash

c# list treeview clear

in a c# wpf application, Im loading a treeView from a list, it has a delete, edit, and add button used with information saved in a list from a textFile, it also has a update button which when click...

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.