建立一个网站时,Visual Studio的错误的错误? [英] Visual studio erroneous errors when building a website?

查看:113
本文介绍了建立一个网站时,Visual Studio的错误的错误?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Visual Studio 2008中显示了很多错误的错误建设中的错误列表中的网站(不是web项目)时。这些错误通常是纠正(删除),当我重建现场几次,但他们花了我浪费的时间。

Visual Studio 2008 shows a lot of erroneous errors when building a website (not a web project) in the errors list. These errors are usually corrected (removed) when I rebuild the site a couple times but they cost me wasted time.

反正是有隐藏错误的错误?

Is there anyway to hide the erroneous errors?

更新:
我决定看看这个,看看我是否能重现它。这是我看到,​​使用本网站模式的确切行为,我在页面上键入一些无效的语法。错误列表充满了错误。我纠正错误和错误列表不更新。我建项目和错误列表中仍然显示了错误,但构建显示为构建完成。我建立了一个项目第二次错误清单将被清除。

Update: I've decided to look into this to see if I could reproduce it. This is the exact behavior I am seeing, using the website model, I type some invalid syntax on a page. The errors list fills up with errors. I correct the error and the errors list does not update. I build the project and the errors list still shows the errors but the build shows as build completed. I build the project a second time and the errors list is cleared.

我的问题是有反正让错误列表上的第一个构建清楚了吗?我想这可能是与页面构建VS网站建设,但它似乎没有什么区别。我不使用本网站的任何第三方的DLL。

My question is there anyway to make the errors list clear on the first build? I thought it might have something to do with page build vs website build but it seems to make no difference. I am not using any third party dlls on this website.

推荐答案

我不能肯定这是你的情况,但我看到这个做之前,当你在你的解决方案,必须引用一个多个项目另一个。这样做的时候,你的建造顺序必须正确。如果是这样的情况下,在Solution Explorer解决方案右键单击,然后选择项目依赖......,并确保这看起来是对的。

I can't be sure that this is your case, but I have seen this be done before when you have multiple projects in your solution that have references to one another. When doing so, your build order must be correct. If this is the case, right-click on your solution in the Solution Explorer and select "Project Dependencies..." and make sure this looks right.

这篇关于建立一个网站时,Visual Studio的错误的错误?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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