When finding the context menu to add an item to, you should use care to make sure you have the correct menu. For example, there can be multiple menus named Project, and using the code DTE.CommandBars.Item("Project") may not find the correct one. If your command is not being added to the menu you expect it to, then you will need to inspect the entire list of command bars for items with the same name. If multiple command bars are found then inspect the controls on the context menu for commands available on the menu you want to use to make sure you have the correct one.