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”

OpenInXAMLView

 Yay.


  1. jason says:

    Score.
    (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.

  2. [...] 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. [...]

  3. [...] 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. [...]

  4. Rylan Barnes says:

    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.

  5. Jeff says:

    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. [...] Making VS 2008 Open in XAML Mode By Default: Matthias Shapiro有一个好贴,展示如何配置VS 2008 ,在默认情形下,在XAML模式中,而不是在设计模式中,装载WPF文件。这是个非常有用的捷径,如果你的自然趋向是直接操作 XAML 标识的话。 [...]

  7. Matthias Shapiro says:

    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.

  8. Dmitriy says:

    Here is a “good-old” way:
    ” .xaml file -> RMC -> Open with… -> XML editor -> Set as Default -> Ok “

  9. [...] 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. [...]

  10. [...] Permanent Link to Making Visual Studio 2008 Only Show XAML [...]

  11. Thanks a lot! been looking for that option everywhere… except there

Leave a Reply