【问题标题】:Office interop assemblies Windows 10Office 互操作程序集 Windows 10
【发布时间】:2016-04-11 15:43:56
【问题描述】:

我一直在尝试下载here 列出的“办公室互操作程序集”

但如所列,不支持 Windows 10,尽管如此,我还是尝试安装它,但它不会安装。

Windows 10 有哪些选择?

谢谢

【问题讨论】:

    标签: c# .net interop ms-office windows-10


    【解决方案1】:

    我按照以下步骤让它们工作:

    确保在“程序和功能”下的 Windows 功能中启用 .NET 3.5。

    按照您提到的链接中的说明下载并安装 PIA。

    添加对您项目的引用。它们应该安装在 C:\Windows\assembly\GAC_MSIL\

    【讨论】:

      【解决方案2】:

      我按照以下步骤操作:

      在程序和功能下的 Windows 功能中启用 .NET 3.5。

      Visual Studio 2015 下载的 Office 工具: https://www.microsoft.com/web/handlers/WebPI.ashx?command=GetInstallerRedirect&appid=OfficeToolsForVS2015

      (主站为:https://www.visualstudio.com/pt-br/vs/office-tools/

      重建解决方案。

      【讨论】:

        猜你喜欢
        • 2010-11-17
        • 1970-01-01
        • 2011-07-15
        • 1970-01-01
        • 2015-10-30
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        相关资源
        最近更新 更多