大会的Microsoft.Office.Interop.Word,版本= 15.0.0.0使用Microsoft.Vbe.Interop,版本= 15.0.0.0版本、大会、Office、Word

由网友(赤道少女)分享简介:我刚刚下载了微软的Visual Studio 2010的解决方案,并得到这个错误。I just downloaded MS Visual Studio 2010 solution and get that error.1时出错大会的Microsoft.Office.Interop.Word,版本= 15.0.0.0...

我刚刚下载了微软的Visual Studio 2010的解决方案,并得到这个错误。

I just downloaded MS Visual Studio 2010 solution and get that error.

1时出错大会的Microsoft.Office.Interop.Word,版本= 15.0.0.0,   文化=中性公钥= 71e9bce111e9429c'用途   Microsoft.Vbe.Interop,版本= 15.0.0.0,文化=中立,   公钥= 71e9bce111e9429c'具有更高版本比   引用的程序集'Microsoft.Vbe.Interop,版本= 14.0.0.0,   文化=中性公钥= 71e9bce111e9429c'   C: PROJECTS UHelper 大会 Microsoft.Office.Interop.Word.dll   AcceptService.Web

Error 1 Assembly 'Microsoft.Office.Interop.Word, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c' uses 'Microsoft.Vbe.Interop, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c' which has a higher version than referenced assembly 'Microsoft.Vbe.Interop, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c' c:PROJECTSUHelperAssembliesMicrosoft.Office.Interop.Word.dll AcceptService.Web

我已经安装了微软Office 2010。 我必须提到Microsoft.Office.Interop.Word.dll内的项目本地副本。

I have MS Office 2010 installed. I have reference to local copy of Microsoft.Office.Interop.Word.dll within project.

任何线索如何解决呢?

推荐答案

首先,我得到这个页面,我认为应该是有用的。但事实并非如此。 :( 无论如何,我把那个链接,以便它的可以对别人有用的。

First I got this page that I assumed should be useful. But it was not. :( Anyway I put that link so it CAN be useful for someone else.

第二点是使用的意见,我发现here

Second point was to use advice that I found here

所以我浏览到 http://www.microsoft。 COM / EN-US /下载/ details.aspx?ID = 18249 并安装 Microsoft Office 2010的主互操作程序集引导程序包。

So I navigated to http://www.microsoft.com/en-us/download/details.aspx?id=18249 And installed Microsoft Office 2010 Primary Interop Assemblies Bootstrapper Package.

最后,我删除了 Microsoft.Office.Interop.Word.dll 项目参考,并添加另外一个

And finally I deleted Microsoft.Office.Interop.Word.dll reference in the project and added another one

的Visual Studio安装PIA的,这些拷贝到以下位置   在开发计算机上中:%ProgramFiles%微软的Visual Studio   12.0 Visual Studio工具用于Office PIA OFFICE14(或的%ProgramFiles(x86)的%微软的Visual Studio 12.0 Visual Studio工具   对于Office PIA OFFICE14在64位操作系统)   的%ProgramFiles%微软的Visual Studio 12.0 Visual Studio工具   办公室 PIA Office15(或的%ProgramFiles(x86)的%微软的Visual Studio   12.0 Visual Studio工具用于Office PIA Office15在64位操作系统)

Visual Studio installs these copies of PIAs to the following locations on the development computer: %ProgramFiles%Microsoft Visual Studio 12.0Visual Studio Tools for OfficePIAOffice14 (or %ProgramFiles(x86)%Microsoft Visual Studio 12.0Visual Studio Tools for OfficePIAOffice14 on 64-bit operating systems) %ProgramFiles%Microsoft Visual Studio 12.0Visual Studio Tools for OfficePIAOffice15 (or %ProgramFiles(x86)%Microsoft Visual Studio 12.0Visual Studio Tools for OfficePIAOffice15 on 64-bit operating systems)

和耶!错误走了! :)

And yeah!!! Error gone! :)

阅读全文

相关推荐

最新文章