If statement weirdness in Visual Studio 2008

前端 未结 6 1003
梦如初夏
梦如初夏 2020-12-30 08:09

I\'ve come across a problem so strange, that I\'ve recorded my session because I didn\'t think anyone would belive me.

I came across a bug that seems to be at very f

6条回答
  •  佛祖请我去吃肉
    2020-12-30 08:39

    I have seen that many times in the past. Basically what is happening is that the code you are debugging doesn't match the code you are seeing.

    I don't know what causes this and the solution follows cargo-cult guidelines.

    • Close all copies of Visual Studio
    • Delete all of your bin and object folders for this project
    • Delete all of your bin and object folders for all .NET projects
    • Delete all the files yo find in "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files"

提交回复
热议问题