I've just encountered this "delight". It seems to present itself just after I've published a web application in release mode.
The only way to consistently get round the issue that I've found is to follow this checklist:
- Clean solution whilst your solution is configured in Release mode.
- Clean solution whilst your solution is configured in Debug mode.
- Build whilst your solution is configured in Debug mode.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…