重命名:“您必须重命名标识符."不断弹出 [英] Rename: "You must rename an identifier." popping up constantly

查看:219
本文介绍了重命名:“您必须重命名标识符."不断弹出的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我安装了相对较新的Visual Studio 2015.我一直在研究最初于2012年创建,然后迁移到新版本的解决方案.

I have a relatively new install of Visual Studio 2015.  I've been working on a solution that was originally created in 2012, then migrated to the new version.

问题在于,每隔几秒钟就会弹出以下消息框... *我需要等到验证我的帐户后才能发布图片*

The problem is that every few seconds, the following message box pops up... *I'll need to wait till my account is verified to post an image*

其要旨是- 

The gist of it is- 

  • 标题:Microsoft Visual Studio
  • 图标:带有白色X的红色圆圈
  • 标题:重命名"
  • 正文:您必须重命名标识符."
  • 可用按钮:< Ok>

它不停地发生.  我可以逃脱,&如果幸运的话,我可以在很短一段时间内回到编码上,然后再次弹出.  如果我不走运,此后会立即弹出4或5次.  这是更令人沮丧的之一 我遇到了一些古怪的问题,而我找不到一种禁用任何功能"的方法是造成这种情况的原因.

It happens non-stop.  I'm able to hit escape, & if I'm lucky I'll be able to go back to coding for a short time before it pops up again.  If I'm not lucky, it'll pop up 4 or 5 more times immediately afterwards.  It's one of the more frustrating quirks I've encountered, and I can't find a way to disable whatever "feature" is causing this.

我还没有看到其他有关此情况的信息,所以我假设这是解决方案或安装本身的问题?  我可能会尝试先重新安装,但很可能我会回到2012年,但运行良好.

I've not seen any other reference to this happening, so I'm assuming it's a problem with the solution or the install itself?  I may try reinstalling first, but most likely I'll just drop back to 2012 which was working fine.

推荐答案

您好,bryan__ ,

Hi bryan__,

请创建一个新的空白解决方案,其中包含相同类型的项目.是否有同样的问题?如果新解决方案存在相同的问题,请尝试执行以下步骤来解决此问题.
1.使用"devenv/SafeMode"以安全模式打开;命令来隔离其他第三种软件和软件包.
2.如果您的解决方案已连接到源代码管理,请将您的解决方案更新为最新版本.
3.如果您认为这是由于安装引起的,请尝试使用控制面板"->进行修复. Visual Studio 2015->右键单击->维修

Please create a new blank solution which contains the same type of projects. Whether it has the same problem? If the new solution has the same problem, please try with following steps to troubleshoot this problem.
1.Open with safe mode with "devenv /SafeMode" command to isolate other third software and packages.
2.If your solution is connect to source control, please update your solution to the newest version.
3.If you assume it caused by installation, please try to repair with Control Panel -> Visual Studio 2015 -> Right-Click -> Repair

如果新解决方案没有此问题.可能是由于升级引起的.在VS2012和VS2015之间,有一个VS2013.请不要直接从VS2012升级到VS2015.您可以升级到VS2013,然后升级2015.您还可以创建一个新的空白 解决方案,并使用添加现有项..."添加原始解决方案中的所有文件;一对一.

If new solution doesn't have this problem. It may be caused by upgrade. Between VS2012 and VS2015, there has a VS 2013. Please don't upgrade from VS2012 to VS2015 directly. You can upgarde to VS2013 and then upgrade 2015. You also can create a new blank solution and add all files in originally solution with "Add Existing Items…" one by one.

最好的问候,
Weiwei

Best Regards,
Weiwei


这篇关于重命名:“您必须重命名标识符."不断弹出的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆