Microsoft.Office.Tools.Excel 丢失
我目前正在重写另一个开发人员大约 2 年前编写的旧版 Excel 2007 插件。但是当我想在VS 2008中调试它时,出现以下错误;
Error 1 The type or namespace name 'Extensions' does not exist in the namespace 'Microsoft.Office.Tools.Excel' (are you missing an assembly reference?) 6 36 E:\..\doc.cs
我安装了 Offie 2007、Power 工具以及在互联网上搜索该程序集时能找到的几乎所有软件包。但什么也没有包含它。
所以现在我迫切地请求你帮助从哪里获得这个程序集......
I'm currently rewriting an older AddIn for Excel 2007 that another developer write about 2 years ago. But when I want to debug it in VS 2008, the following error occurs;
Error 1 The type or namespace name 'Extensions' does not exist in the namespace 'Microsoft.Office.Tools.Excel' (are you missing an assembly reference?) 6 36 E:\..\doc.cs
I have Offie 2007 installed, as well as Power tools and virtually any package I could find when searching the internet for this assembly. But nothing contained it.
So now I desperately ask for your help on where to get this assembly from...
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
它仅添加到 VSTO 3.0 的 SP1 中,您可以在此处获取:http://www.microsoft.com/downloads/en/details.aspx?FamilyID=d8eb4921-891a-4b5e-973f-0b96e6ccf376。
It was only added to SP1 of VSTO 3.0 which you can get here: http://www.microsoft.com/downloads/en/details.aspx?FamilyID=d8eb4921-891a-4b5e-973f-0b96e6ccf376.
Microsoft.Office.Tools.Excel.Extensions
来自 VSTO 2005 SE,不适用于 VSTO 3.0 或更高版本。如果它在 VS 2008 中不起作用,则意味着您已安装 VSTO 3.0 并且正在以它为目标。安装了 Visual Studio 2008 SP1
(是,VS2008 SP1,不是
仅.NET 3.5 SP1或VSTO 3.0 SP1)。这将解决该问题。在此下载:Microsoft Visual Studio 2008 Service Pack 1(安装程序)
Microsoft.Office.Tools.Excel.Extensions
is from VSTO 2005 SE and doesn't work in VSTO 3.0 or higher. If it's not working in VS 2008, that means you have VSTO 3.0 installed and are targeting it.Visual Studio 2008 SP1 installed
(yes, VS2008 SP1, not
only .NET 3.5 SP1 or VSTO 3.0 SP1). This will fix the issue. Download here: Microsoft Visual Studio 2008 Service Pack 1 (Installer)
您可能需要查看 Visual Studio Tools for Office
VSTO
这可能有您需要的组件。
You might need to look at Visual Studio Tools for Office
VSTO
That might have the assembly you need.