2010-12-03 170 views
0

我刚刚在Windows 7上安装了Sharepoint 2010独立版,我试图通过简单地选择Build-> Deploy来部署Web部件。网页部分不包含任何内容;我只是想测试一下,如果我至少可以部署一个空的。部署Sharepoint 2010 Webpart崩溃Visual Studio

下面是输出之前,“Visual Studio中遇到了问题,需要关闭”的Visual Studio崩溃,我得到:

------部署开始:项目:SharePointProject3,配置: 调试任何CPU ------积极部署 配置:默认

运行预部署命令:跳过 部署步骤,因为一个 前展开命令是没有指定 。

回收IIS应用程序池:
跳绳应用程序池回收 因为 服务器上没有匹配的包被发现。

退回解决方案:跳过包 因为没有找到服务器上的匹配包 而被收回。添加解决方案:

这是在应用程序日志条目:

应用:devenv.exe的 Framework版本:v4.0.30319 说明:该进程被终止,由于未处理的异常。 异常的信息:System.AccessViolationException 堆栈: 在EnvDTE.ProjectItem.get_Properties() 在Microsoft.VisualStudio.SharePoint.ProjectUtils.GetFullPath(EnvDTE.ProjectItem) 在Microsoft.VisualStudio.SharePoint.HierarchyItem.get_FullPath() 在Microsoft.VisualStudio.SharePoint.ProjectMember.get_FullPath() 在Microsoft.VisualStudio.SharePoint.ProjectExtensions.VSPackage.WebPartCommon.b__0(Microsoft.VisualStudio.SharePoint.ISharePointProjectItemFile) 在System.Linq.Enumerable + WhereEnumerableIterator 1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].MoveNext() at Microsoft.VisualStudio.SharePoint.ProjectExtensions.VSPackage.ProjectItemTypeProvider.HasAnyFileChanged(System.Collections.Generic.IEnumerable 1)

有没有人有ide问题可能是什么?

+0

您是否以管理员模式运行VS 2010? – 2010-12-03 21:34:17

回答

0

我结束了重新安装VS2010。现在它可以工作。