简体   繁体   English

在Visual Studio 2010中未显示Sharepoint 2010项目

[英]Sharepoint 2010 Projects not showing in Visual Studio 2010

I have installed sharepoint 2010 and the sdk, yet I cannot see / open sharepoint projects in Visual Studio. 我已经安装了sharepoint 2010和sdk,但无法在Visual Studio中看到/打开sharepoint项目。 When I go to new >> Project, sharepoint is not anywhere in the options. 当我转到新>>项目时,共享点不在选项中的任何位置。

If I try and open an event receiver project, I get this project type is not supported in this installation. 如果尝试打开事件接收器项目,则说明此安装不支持此项目类型。

I have tried reinstalling the Sharepoint 2010 SDK, and repairing VS 2010 Premium. 我尝试重新安装Sharepoint 2010 SDK,并修复VS 2010 Premium。

Does anyone have any ideas on what I need to do to get this to work? 是否有人对我需要做什么才能使它起作用有任何想法?

I'm running VS 2010 Professional and when I ran VS 2010 SP1 it crashed during installation. 我正在运行VS 2010 Professional,当我运行VS 2010 SP1时,它在安装过程中崩溃了。 After that I got the same error message when I opened a solution containing Sharepoint 2010 projects. 之后,当我打开一个包含Sharepoint 2010项目的解决方案时,我得到了相同的错误消息。 I tried the following but it didn't solve it: - Running VS 2010 repair - Reinstalling VS2010 SP1 - Reinstalling .Net framework 4.0 Same error... Finally I ran VS2010 setup, 'add remove features', and noticed that the 'Sharepoint Developer Tools' was not included anymore. 我尝试了以下操作,但并没有解决问题:-运行VS 2010修复-重新安装VS2010 SP1-重新安装.Net framework 4.0同样的错误...最后,我运行VS2010安装程序,“添加删除功能”,并注意到“ Sharepoint”开发人员工具”不再包含在内。 I added it and now it works! 我添加了它,现在可以使用了!

This was resolved by uninstalling and reinstalling VS 2010 premium. 通过卸载并重新安装VS 2010 premium可以解决此问题。 Go Figure! 去搞清楚!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM