Visual Studio 2008 迫使我每次都重新构建网站以实现我所做的任何更改
在过去两年左右的时间里,我一直在使用 Visual Studio 2008。最近,在 2 个特定的 ASP.NET(带有 VB.NET)网站中,我被迫在任何更改后执行重建解决方案,无论多么微小,即使它只是 HTML 更改。
换句话说,我无法将应用程序加载到浏览器中并进行 HTML 更改并按 F5,因为更改不会反映在浏览器中。另外,如果我对代码进行更改并尝试通过单击 F5 来运行项目,则代码更改将不会生效。我首先必须重建,然后按 F5,这显然需要更多时间。
有谁知道为什么会发生这种情况?我的所有项目都不会发生这种情况,但只有 2 个项目才会发生这种情况。
提前致谢, 蒂姆
I have been using Visual Studio 2008 for the past 2 years or so. Recently, in 2 particular ASP.NET (with VB.NET) web sites I am forced to do a Rebuild Solution after any change, no matter how minor, even if it's just an HTML change.
In other words, I cannot load the application into the browser and make an HTML change and hit F5 as the change would not be reflected in the browser. Also, if I make a change in the code and try to run the project by clicking F5 the code change would not come into effect. I first have to rebuild, then hit F5, which obviously takes much more time.
Does anyone know why this may be happening? This does not happen with all of my projects but only with 2 in particular.
Thanks in advance,
Tim
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
哦,视觉工作室和网络项目的乐趣!
要尝试的事情:
Oh the joy of visual studio and web projects!
Things to try:
超级晚,但是: http://weblogs.asp.net/scottgu/archive/2006/09/22/Tip_2F00_Trick_3A00_-Optimizing-ASP.NET-2.0-Web-Project-Build-Performance -with-VS-2005.aspx
要点:
如果您看到此内容,请告诉我它是否有效!
Super-late, but: http://weblogs.asp.net/scottgu/archive/2006/09/22/Tip_2F00_Trick_3A00_-Optimizing-ASP.NET-2.0-Web-Project-Build-Performance-with-VS-2005.aspx
The meat:
If you see this, let me know if it works!