简体   繁体   English

在Visual Studio 2010的解决方案资源管理器中禁用添加引用

[英]Disabled Add Reference in Solution Explorer on Visual Studio 2010

I'm using Visual Studio 2010, and I want to add reference to make a project as said in this guide , but for some reason it is disabled. 我正在使用Visual Studio 2010,并且我想按本指南的说明添加引用以创建一个项目,但是由于某些原因,该项目已被禁用。

Here is my printscreen picture, it explains it all. 这是我的打印屏幕图片,它说明了一切。

在此处输入图片说明

You probably try to add reference when you debugging your code. 您可能在调试代码时尝试添加引用 Stop the debugging and you are free to add reference. 停止调试,您可以随意添加参考。

Make sure you are not in Debugging Mode . 确保您不在调试模式下 Add Reference option usually got disabled in debugging mode. 通常在调试模式下禁用“添加引用”选项。

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

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