问题
when developing wpf applications i never use the graphical editor ( aka cider). only the xaml editor. as "cider" needs quite some resources when loaded i wonder if there is a way to completely disable it. This may speed up loading xaml files. i heard that this is possible, but as google does not return what i`m looking for, i want to ask the SO community. any ideas?
regards
回答1:
It's quite simple!
At the Tools menu, chose Options, and chose "Text Editor" at the left pane. Expand it, and chose "XAML" sub node. Expand the "XAML" sub node, and check the check box of "Always open documents in full XAML view".
Let me know if it doesn't work for you. :)
回答2:
For even better performance, map the .xaml extension to the XML Editor in Tools/Options/Text Editor/File Extension. Your .xaml files will then open much faster. You will lose intellisense, but this is a great option if you can live without it.
回答3:
This is possible.
See this blog post for specific instructions. Just turn on "Always open documents in full XAML view."
回答4:
You can perform the steps suggested above but be ready to get VS crashes after you will install Silverlight 2.0 Tools for Visual Studio or sometimes Expression Blend. If you will start experiencing crashes just try switching back to default settings.
来源:https://stackoverflow.com/questions/649551/how-can-i-disable-cider-wpf-gui-editor-within-vs2008