VS找不到“转到定义”选项

不用关闭Visual Studio软件,关闭所有已经打开文件,通过在解决方案中点击文件重新打开它们。

转载地址:http://social.msdn.microsoft.com/Forums/en-US/5562f8f3-8fee-4080-83c1-7dbba8dadd4a/go-to-definition-is-disabled-in-visual-studio?forum=csharpide


  • Question

  • In my project, I have one file that has the "Go to definition" option disabled.  I can't figure out how to get that option back, and I use that option quite heavily.  Any advice?
    Friday, June 08, 2007 7:55 PM
    Avatar of Ezek
    25 Points

Answers

  • Don't close Visual Studio but close all the files and open them again by clicking on the file in the solution. The file might have been opened by Source Safe or you maybe opened it from Windows Explorer. In this case the file doesn't get assosiated with your solution and the Go to Def. doesn't work.


评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值