Last post Sep 12, 2012 08:23 PM by DadKind
Sep 10, 2012 06:43 PM|DadKind|LINK
Something broke in my VS2010 installation and I can't figure it out.
[the problem first became apparant in my existing site, so I tested the problem with a clean, new website]
If I create a brand new website, I get a warning underline (green sqiggly line) under the "<asp:Content ...>" tag. When I hover over the tag, I see the message "Validation (): Element 'content' not supported".
I've seen posts about resetting my settings (doesn't help) and about deleted the Reflected Schemas folder (I don't have one, for some reason). Also, if I try to create a new standard element (like a button), my intellisense does not come up (e.g.: I type
"<asp:" and I don't see the usual list of controls come up).
The weird thing, is that if I reset the target framework to 3.5, everything is normal. But as soon as I set the framework back to 4.0 I start to see the erroneous behavior.
This is something that started happening just today, so I'm stumped as to what has happened overnight. Any suggerstions are appreciated.
Sep 12, 2012 03:17 AM|Dino He - MSFT|LINK
As you had seen. Most of the similar problems are caused by Reflected Schemas folder. It may be exists in other path. Please check.
And a restart is recommended.
Hope be helpful.
Sep 12, 2012 08:23 PM|DadKind|LINK
On our network our "Documents" were being cached/stored on a network path. So even though there was no "Reflected Schemas" on my local drive, there WAS one on a networked "My Documents" folder.
Deleted that folder. Restarted VS. Still had the problem.
Restarted the computer. It worked. Finally!
Thanks for the "other path" clue. that was the answer.