【问题标题】:Can't find Word 2010 Document template in Visual Studio在 Visual Studio 中找不到 Word 2010 文档模板
【发布时间】:2015-09-12 06:30:13
【问题描述】:

我安装了 VS 2013 和 Microsoft Office 2010,我想使用 Word 2010 文档作为模板创建一个新项目,但我没有看到此版本的选项。只有 Word 2013 文档模板可用,但由于我没有安装它,我收到错误 Cannot create project because the application associated with this project type is not installed on this computer. You must install the Microsoft Office application that is associated with this project type. 我可以使用 2010 Word 模板吗,如果可以,如何使用?

【问题讨论】:

    标签: vb.net templates visual-studio-2013 ms-word vsto


    【解决方案1】:

    您可以使用以下链接中非常有用的答案:

    VSTO Tools: Office 2010 to 2013 upgrade

    我认为您只能尝试答案中提到的一点:

    根据 项目\ProjectExtensions\VisualStudio\FlavorProperties\ProjectProperties 元素找到“OfficeVersion”属性/值对并将其删除 (所以读取 OfficeVersion="14.0" 的属性 - 删除它)。 -- 保持所有其他 14.0 不变,如果有任何更改为 15.0, 将其降级回 14.0(如果是参考,再次设置 具体版本为假)。 -- 不用担心更改任何 GUID, 让他们保持原样!

    让我知道这是否适合你。

    【讨论】:

    • 我刚刚将我的 Office 版本升级到 2013 ;-)
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2012-04-20
    • 2014-12-21
    • 1970-01-01
    相关资源
    最近更新 更多