So I'm happily working on a project making heavy use of custom .xml configuration files this morning.
All of a sudden, whenever I double-click an .xml file in Solution Explorer, it opens in Notepad instead of within Visual Studio.
Thinking that it was the Windows file associations, I right-clicked on a file in Explorer, selected Open With >> Choose Defaults, and selected Visual Studio 2008.
But the problem remains -- now when I open a file from Explorer, Visual Studio Opens, then it opens Notepad.
Needless to say, this is very frustrating, and Google is not much help. Has anyone else ever had this problem, and what did you do about it?
Notes:
If you go into Tools > Options > Text Editor > File Extension, do you have anything in here that is mapped to notepad? If so remove that and it should clear it up. Also, if you have an XML file in a project, you can right click on it, choose Open With and choose your default editor there.