This is driving me crazy.
I have a rather large project that I am trying to modify. I noticed earlier that when I typed DbCommand
, visual studio did not do any syntax highlighting on it, and I am using using System.Data.Common
.
Even though nothing was highlighted, the project seemed to be running fine in my browser. So I decided to run the debugger to see if things were really working as they should be.
Every time the class that didn't do the highlighting is called I get the "the source file is different from when the module was built"
message.
I cleaned the solution and rebuilt it several times, deleted tmp files, followed all the directions here Getting "The source file is different from when the module was built.", restarted the web server and still it tells me the source files are different when they clearly are not.
I cannot test any of the code I have written today because of this.
- How can the source be different than the binary when I just complied
it?
- Is there any way to knock some sense into visual studio, or am
I just missing something?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…