CommandBar, cbEvents, etc is defined in multiple places; using definition from ...

ThienZ

Well-known member
Joined
Feb 10, 2005
Messages
45
Location
Germany
Hi,

im trying to make an addin from c#.net. The project was created from Extensibility Projects - VS.Net Add-in, and then i added a reference to MS Excel 11.0 Object Library.

The Problem is that if im using _CommandBarButtonEvents_ClickEventHandler, CommandBar, CommandBars, CommandBarButton, CommandBarPopup, MsoButtonStyle, the compiler makes these warnings :
E:\VS Projects\FDB2XLaddin\Menu.cs(271): Microsoft.Office.Core._CommandBarButtonEvents_ClickEventHandler is defined in multiple places; using definition from c:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\office.dll

i attached a screenshot too if you want to see it....

What should I do to correct this?
 
Back
Top