在 Visual Studio 中查找错误

发布于 12-17 02:36 字数 216 浏览 1 评论 0原文

当我构建解决方案时,错误面板中显示错误。 但我不明白这个错误,真正的问题是当我单击错误时它不会将我带到错误行。

在错误表中,文件、行、列和项目字段为空。 那么我怎样才能找到我的问题出在哪里呢?

我已经对“Ticks”一词进行了研究,但没有找到任何内容

在此处输入图像描述

When i am building my solution there is an error that show in the error panel.
But i don't understand the error and the real problem is when i am clicking on the error it doesn't taking me to error line.

In the error table the fields File, Line, Column and Project are empty.
So how can i find where is my problem?

I have already done a research for the words "Ticks" and didn't found anything

enter image description here

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

别闹i2024-12-24 02:36:34

嗯,很奇怪。
请参阅此博客文章

我是如何解决这个问题的?因为我在
我对网站进行了备份并决定删除文件,直到
狡猾的文件露出了真面目。

我使用以下启发式方法来执行此操作:

1.切换到“输出”选项卡,查看在崩溃之前编译的最后一个文件夹是什么。
2.删除该文件夹。
3.重新编译
4.不断重复步骤1到3,直到站点编译完成
5.编译时开始带回您删除的最后一批中的单个文件,直到找到有问题的文件对我来说,它变成了
当在资源管理器中使用 View 查看时,会显示为单个 .jpg
详细信息有一个空的“修改日期”。

我在 Photoshop 中打开它并再次保存,这解决了
问题。

Hmm, pretty strange.
Refer to this blog post:

How I Solved It After getting pretty annoyed because I was on the
clock I made a backup of the site and decided to delete files until
the dodgy file showed its face.

I used the following heuristic to do this:

1.Switch to the Output tab and see what the last folder was which was compiled before it borked.
2.Delete that folder.
3.Recompile
4.Keep repeating steps 1 to 3 until the site compiles
5.When it compiles start bringing back individual files in the last batch you deleted until you find the offending file For me it turned
out to be a single .jpg which when viewed in explorer with View
Details had an empty "Date Modified".

I opened it up in Photoshop and saved it out again and this fixed the
problem.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文