简体   繁体   中英

Error when creating SharePoint WebPart in Visual Studio - “An error occurred while generating the project”

I am getting a Error in Visual Studio when I create a SharePoint Web Part.. "An error occurred while generating the project. Please see the Visual Studio Output window for more information."

I have checked the Output window and there is noting in it. When I click OK I get the next error that states

"Object reference not set to an instance of an object".

After I click oky.. There seems to be files missing in the Solution Explorer..

I am using Visual Studio 2013 Ultimate and SharePoint 2013 Enterprise. These run on Windows Server 2012 R2..

This mind boggling.. Hope someone can help..

Thanks

在Visual Studio中,仔细检查功能和包中是否有添加到“此功能/包中的项目”中的任何项目,但有错误

我现在结束了现在安装VS 2012和VS 2012 Office Tools的工作,它开箱即用。.但是仍然想知道VS 2013出了什么问题。真的想使用它。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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