在 Visual Studio 中找不到 Word 2010 文档模板
Can't find Word 2010 Document template in Visual Studio
我安装了 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 模板吗?如果可以,如何使用?
您可以使用以下非常有用的答案 link:
VSTO Tools: Office 2010 to 2013 upgrade
我认为你可以只尝试答案中提到的点之一:
Under the
Project\ProjectExtensions\VisualStudio\FlavorProperties\ProjectProperties
element find the "OfficeVersion" attribute/value pair and remove it
(so the attribute that reads OfficeVersion="14.0" -- delete that). --
Leave all other 14.0s intact, if anything got changed to 15.0,
downgrade it back to 14.0 (and again, if it's a reference, set
SpecificVersion to false). -- Do not worry about changing any GUIDs,
just leave them as they are!
让我知道这是否适合你。
我安装了 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 模板吗?如果可以,如何使用?
您可以使用以下非常有用的答案 link:
VSTO Tools: Office 2010 to 2013 upgrade
我认为你可以只尝试答案中提到的点之一:
Under the Project\ProjectExtensions\VisualStudio\FlavorProperties\ProjectProperties element find the "OfficeVersion" attribute/value pair and remove it (so the attribute that reads OfficeVersion="14.0" -- delete that). -- Leave all other 14.0s intact, if anything got changed to 15.0, downgrade it back to 14.0 (and again, if it's a reference, set SpecificVersion to false). -- Do not worry about changing any GUIDs, just leave them as they are!
让我知道这是否适合你。