我刚刚将一个解决方案从VS2012转移到2013年(该解决方案有大约21个不同的项目)。
我遇到的问题是ASP MVC项目的解决方案资源管理器的上下文菜单,当我将鼠标悬停在添加子菜单上时,右键单击文件夹VS冻结约30秒左右 。
当我右键单击项目中的Service References文件夹时(当我右键单击时,而不是当我将鼠标悬停在某物上时),会发生同样的事情。 我尝试了什么:
.suo
个文件这就是我已经安装的
Microsoft Visual Studio Professional 2013
Version 12.0.31101.00 Update 4
Microsoft .NET Framework
Version 4.5.51641
Installed Version: Professional
Team Explorer for Visual Studio 2013 06177-004-0446025-02893
Microsoft Team Explorer for Visual Studio 2013
Visual Basic 2013 06177-004-0446025-02893
Microsoft Visual Basic 2013
Visual C# 2013 06177-004-0446025-02893
Microsoft Visual C# 2013
Visual C++ 2013 06177-004-0446025-02893
Microsoft Visual C++ 2013
Visual F# 2013 06177-004-0446025-02893
Microsoft Visual F# 2013
Visual Studio 2013 Code Analysis Spell Checker 06177-004-0446025-02893
Microsoft® Visual Studio® 2013 Code Analysis Spell Checker
Portions of International CorrectSpell™ spelling correction system © 1993 by Lernout & Hauspie Speech Products N.V. All rights reserved.
The American Heritage® Dictionary of the English Language, Third Edition Copyright © 1992 Houghton Mifflin Company. Electronic version licensed from Lernout & Hauspie Speech Products N.V. All rights reserved.
AnkhSVN - Subversion Support for Visual Studio 2.5.12582.28
AnkhSVN - Subversion Support for Visual Studio 2.5.12582.28
* Ankh.Package 2.5.12582.28
* Subversion 1.8.11 via SharpSvn 1.8011.3473.77
SharpSvn is linked to: Apr 1.5.1, Apr-util 1.5.4, Cyrus Sasl 2.1.25, eXpat 2.1.0, OpenSSL 1.0.1l 15 Jan 2015, serf 1.3.8, SQLite 3.7.17, Subversion 1.8.11-SharpSvn-1.8.11, ZLib 1.2.8
SharpSvn is optionally linked to: Berkeley DB 4.4.20, SharpPlink 1.8011.3473.77
ASP.NET and Web Tools 12.4.51016.0
Microsoft Web Developer Tools contains the following components:
Support for creating and opening ASP.NET web projects
Browser Link: A communication channel between Visual Studio and browsers
Editor extensions for HTML, CSS, and JavaScript
Page Inspector: Inspection tool for ASP.NET web projects
Scaffolding: A framework for building and running code generators
Server Explorer extensions for Microsoft Azure Websites
Web publishing: Extensions for publishing ASP.NET web projects to hosting providers, on-premises servers, or Microsoft Azure
ASP.NET Web Frameworks and Tools 2012.2 4.1.21001.0
For additional information, visit http://go.microsoft.com/fwlink/?LinkID=309563
ASP.NET Web Frameworks and Tools 2013 5.2.21010.0
For additional information, visit http://www.asp.net/
Crystal Reports for .NET Framework
Crystal Reports for .NET Framework
NuGet Package Manager 2.8.60318.734
NuGet Package Manager in Visual Studio. For more information about NuGet, visit http://docs.nuget.org/.
Oracle Developer Tools for Visual Studio 12.1.0.2.0
Oracle Developer Tools for Visual Studio Copyright (c) 2005, 2014
PreEmptive Analytics Visualizer 1.2
Microsoft Visual Studio extension to visualize aggregated summaries from the PreEmptive Analytics product.
SQL Server Data Tools 12.0.41012.0
Microsoft SQL Server Data Tools
任何帮助将不胜感激
答案 0 :(得分:3)
因此,经过.csproj
文件几个小时后,我终于找到了解决方法。它是引用此问题的引用.dll
文件。
如果你遇到这个问题我建议去参考文件夹并逐个删除它们直到Visual Studio实时开始响应,我认为你应该先从第三方组件开始。
答案 1 :(得分:0)
根据toby的答案,我的案例是由于特定的引用,其路径未在项目中解决。我检查了每个违规引用的Path属性,并验证了哪些引用确实无效,并仅删除了那些引用并重建了项目。完成后,“添加”上下文菜单恢复正常。
答案 2 :(得分:0)
如果单击上下文菜单条中的箭头,则会显示一个下拉菜单,但不会冻结visual studio。