vs2012安装SharePoint 2013的项目模版

1.首先安装"Web platform Installer"(简称WebPI),安装完成之后极有可能出现错误,大概是“无法连接产品列表”之类的意思,解决方法在这,具体

Open RegEdit

Navigate to HKLM\Software\Microsoft\WebPlatformInstaller

Create a new String 

Name:  ProductXMLLocation

Value: http://www.microsoft.com/web/webpi/4.5/webproductlist.xml

这里只是把https的服务地址改成了http的,当然这不是最好的解决方法,但目前还没找到其他的解决方法。(这里出错的根本原因应该是https安全证书导致)

2.在"WebPI"里搜索“Microsoft Office Developer Tools for Visual Studio 2012"找到后安装即可

原文地址:https://www.cnblogs.com/yaoshan/p/3007278.html