在运行一个例子时出现如下错误怎么解决:The type or namespace name \'Office\' could not be found (are you missing a using directive or an assembly reference?)注:我已经添加了引用,用了using Microsoft.Office.Core;提示错误的代码如下(就是下面第一行出现的office处有错):private void AddSubButton(Office.CommandBarPopup cb, string buttonName)
{
try
{
}
catch (Exception exc)
{
}
}