Visual Studio 2013错误列表在失败的生成上未显示错误 [英] Visual Studio 2013 Error List not showing errors on failed builds

查看:827
本文介绍了Visual Studio 2013错误列表在失败的生成上未显示错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的VS2013 Professional刚刚停止在我的错误列表中显示生成错误(这对用户更友好,因为我可以单击错误并直接转到有问题的行).生成错误(例如,对象上不存在的方法)现在仅在生成时显示在输出"窗口中.事实证明,这使我的生活变得更加艰难,因为我现在每次必须运行该项目,以查看在运行时真正应该出现在错误列表中的错误.

My VS2013 Professional just stopped showing build errors in my error list (which is more user friendly as i can click on errors and go straight to the offending line). Build errors e.g non-existent method on an object now only show up at build time in the Output window. This is proving to make my life harder as i now need to run the project every single time, to see errors which i should really get in the error list before runtime.

我尝试过

  • 删除suo文件
  • 已选中,如果通过错误选项完成构建,则始终显示错误列表
  • 开始一个新项目

什么也没有用.

也许我只是将VS2013与另一个IDE混淆,但是我非常确定VS2013应该在构建失败并出现诸如

Maybe iam just confusing VS2013 with another IDE, but iam pretty sure VS2013 is suppose to show errors in the Error List when build fails with errors such as

C:\ Users \ User \ Documents \ Visual Studio 2013 \ Projects \ MyProj \ UI \ Main.cs(149,213,149,221):错误CS1061: 'Helper.Track'不包含'location'的定义,并且没有 扩展方法位置"接受第一个类型的参数 可以找到"Helper.Track"(您是否缺少using指令或 程序集参考?)

C:\Users\User\Documents\Visual Studio 2013\Projects\MyProj\UI\Main.cs(149,213,149,221): error CS1061: 'Helper.Track' does not contain a definition for 'location' and no extension method 'location' accepting a first argument of type 'Helper.Track' could be found (are you missing a using directive or an assembly reference?)

错误地仅在我的输出窗口中显示.

which are wrongly showing only in my output window.

推荐答案

ErrorList的右侧,选择 Build + Intellisense .为我工作

Right hand side of ErrorList, select Build + Intellisense. Worked for me

这篇关于Visual Studio 2013错误列表在失败的生成上未显示错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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