Making Visual Studio 2008 Only Show XAML
Karl Shifflett points to a wonderful life saver of a feature that I didn’t know existed until now.
With Visual Studio 2008, the project is always trying to load the design view with the XAML view. I get very frustrated by this… if I wanted to see the design view, I would open Blend.
Apparently, if you’re in VS2008, you can go to “Tools -> Options…” in the resulting window, open up the “Text” option and scroll down to “XAML -> Miscellaneous” Check the box that says “Always open docuemnts in full XAML view”

Yay.
jason:
Score.
5 February 2008, 10:23 am(Also because of this post: I discovered the extended options for Visual C# Express 2008 (hidden behind the “Show all settings”) , which finally give me line numbers in the text editor.
Feb 6th Links: ASP.NET, ASP.NET AJAX, Visual Studio, .NET, WPF - ScottGu's Blog:
[…] Making VS 2008 Open in XAML Mode By Default: Matthias Shapiro has a nice post that shows how you can configure VS 2008 to by default load WPF files in XAML mode instead of design-mode. A very useful shortcut if your natural inclination is to work directly with XAML markup. […]
6 February 2008, 12:42 amBusinessRx Reading List : Feb 6th Links: ASP.NET, ASP.NET AJAX, Visual Studio, .NET, WPF:
[…] Making VS 2008 Open in XAML Mode By Default: Matthias Shapiro has a nice post that shows how you can configure VS 2008 to by default load WPF files in XAML mode instead of design-mode. A very useful shortcut if your natural inclination is to work directly with XAML markup. […]
6 February 2008, 1:34 amRylan Barnes:
Hey, congratulations on getting Gu’ed! http://weblogs.asp.net/scottgu/archive/2008/02/06/feb-6th-links-asp-net-asp-net-ajax-visual-studio-net-wpf.aspx. (Almost as good as getting Slashdotted.)
Is this, by chance, the Matthias Shapiro I know from Deerfoot Lodge? If so, what’s up Old Friend! This is Rylan Barnes.
6 February 2008, 3:36 amJeff:
This is great! Do you have any idea how to make Windows Services appear in code view, instead of the completely useless Design View? I’ve searched the maze of VS Options dialog boxes to no avail.
6 February 2008, 8:23 am2月6日链接篇: ASP.NET, ASP.NET AJAX, Visual Studio, .NET, WPF - Joycode@Ab110.com:
[…] Making VS 2008 Open in XAML Mode By Default: Matthias Shapiro有一个好贴,展示如何配置VS 2008 ,在默认情形下,在XAML模式中,而不是在设计模式中,装载WPF文件。这是个非常有用的捷径,如果你的自然趋向是直接操作 XAML 标识的话。 […]
6 February 2008, 9:10 amMatthias Shapiro:
Argh! I’ve been attacked by comments.
Rylan - yep, that’s me. Good to hear from you. Toss me an e-mail some time at matthias(dot)shapiro(at)gmail(dot)com
Jeff - I have not been able to get Windows services to appear in a code view. If I figure it out I’ll post a link here.
6 February 2008, 11:29 amDmitriy:
Here is a “good-old” way:
10 February 2008, 12:50 am” .xaml file -> RMC -> Open with… -> XML editor -> Set as Default -> Ok “
Feb 6th Links: ASP.NET, ASP.NET AJAX, Visual Studio, .NET, WPF - Mirrored Blogs:
[…] Making VS 2008 Open in XAML Mode By Default: Matthias Shapiro has a nice post that shows how you can configure VS 2008 to by default load WPF files in XAML mode instead of design-mode. A very useful shortcut if your natural inclination is to work directly with XAML markup. […]
19 February 2008, 11:51 pmMy WPF Build Environment - Rudi Grobler:
[…] Permanent Link to Making Visual Studio 2008 Only Show XAML […]
2 June 2008, 1:11 am