Visual Studio删除启动时的换行符 [英] Visual Studio removes line break on start

查看:155
本文介绍了Visual Studio删除启动时的换行符的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个问题,当我尝试启动应用程序时,Visual Studio(或者可能是Resharper?)删除了换行符.发生这种情况的方式是,当我按F5键或用鼠标单击运行按钮时,将删除光标最后一次出现的行上的换行符,这非常烦人.

I have the problem that Visual Studio (or maybe Resharper?) removes line breaks when I try to start my application. This happens in a way that when I press F5 or click on the run button with the mouse that a line break at the line where the cursor was the last time will be removed which is extremely annoying.

我还没有尝试太多事情,因为我真的不知道从哪里开始.我以前从未遇到过此问题,并且始终使用相同的设置进行操作:

I have not tried so many things yet because I really don't know where to start. I never experienced this problem before and was always working with the same setup:

  • Visual Studio 2010
  • Resharper 6.1.1

我使用的其他插件,但在问题发生后已安装(因此我认为它们不应与问题相关)

Other plugins I use but which were installed after the problem (so I think they should not be related to the problem):

  • AnkhSvn
  • TeamCity

示例:

之前:

public void test(){
  int x = 5;
}

运行解决方案后:

public void test(){
  int x = 5;}

此问题似乎与Resharper有关-希望他们能够解决此问题,因为我以前从未有过此版本. ( http://devnet.jetbrains.net/message/5456038#5456038 ).

This issue seems to be related to Resharper - so hopefully they will be able to fix this issue as I never had this with any previous versions. (http://devnet.jetbrains.net/message/5456038#5456038).

推荐答案

Dexexpress Dim @ ster补丁程序存在此问题.如果删除licenses.licx并在源代码中进行编译.没发生问题是当您打开表单并再次创建licenses.licx时.您是否卸载了这个消失的补丁.但是我不明白为什么停用Resharper的问题也消失了.但是没有补丁和重新共享+ devexpress试用版就可以正常工作.

This is a problem with Dexexpress Dim@ster patch. If you delete licenses.licx and compile in the source code. Not happend. The problem is when you open a form and licenses.licx is created again. Is you uninstall the patch this dissapear. But I dont understand why deactivating Resharper the problem gone too. But without patch and resharper + devexpress trial working fine.

问题是补丁.

这篇关于Visual Studio删除启动时的换行符的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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