I wrote program, which work with office word. This program use .Net 4.0. It is successfully built on visual studio 2010. But when I start build definition , the build was failed with exception:
ThisAddIn.Designer.cs (16): The type or namespace name 'AddInBase' does not exist in the namespace 'Microsoft.Office.Tools' (are you missing an assembly reference?)
ThisAddIn.Designer.cs (228): The type or namespace name 'RibbonCollectionBase' does not exist in the namespace 'Microsoft.Office.Tools.Ribbon' (are you missing an assembly reference?)
I don't know how it's fixed. I didn't install on TFS server Office 2010. I copied only directory, which reference to VS: c:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\Visual Studio Tools for Office\\PIA\\Office14
Can you advice me how it's fixed?
您应该在构建服务器上安装Office 2010组件。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.