N
Nick Stansbury
Hi,
I'm not sure where to post this - but I'll try here. I'm encountering
some really weird behaviour in visual studio and I can't work out where it
is coming from.
In various files, seemingly at random, the compiler seems to "forget" about
references declared in the code behind file. So when I build I get a whole
string of errors like "dgdSearchResults is not defined", but if I right
click -> goto definition it goes straight to the declaration in the code
behind file.
Sometimes rebuilding the solution solves the problem, but at other times I
have to delete the declaration and paste it in again somewhere else.
Has anyone encountered this? It seems to be on just one machine (mine) and
not on any of the other developers. It seems to only occur in the one
project.
Nick
I'm not sure where to post this - but I'll try here. I'm encountering
some really weird behaviour in visual studio and I can't work out where it
is coming from.
In various files, seemingly at random, the compiler seems to "forget" about
references declared in the code behind file. So when I build I get a whole
string of errors like "dgdSearchResults is not defined", but if I right
click -> goto definition it goes straight to the declaration in the code
behind file.
Sometimes rebuilding the solution solves the problem, but at other times I
have to delete the declaration and paste it in again somewhere else.
Has anyone encountered this? It seems to be on just one machine (mine) and
not on any of the other developers. It seems to only occur in the one
project.
Nick