Did you know… What the “Default Presentation Language” setting does the Object Browser settings? – #226

In yesterday’s tip, I talk about how you can export and import your Object Browser settings.  If you examined the .vssettings file for just the Object Browser Settings category in Import / Export Settings, you may have seen

<PropertyValue name="DefaultPresentationLanguage">VB</PropertyValue>

The Object Browser tries to show the language of the current project.  If this is not possible or multiple languages exist,  the Object Browser uses the “DefaultPresentationLanguage” to decide what syntax to use.

In the example below, there’s no solution shown, so the Object Browser is forced to use this setting.

Using DefaultPresentationLanguage=VB, we see the Object Browser use VB syntax.

Object Browser VB Syntax

Using DefaultPresentationLanguage=VC#, we see the Object Browser use C# syntax.

Object Browser C# Syntax

Technorati Tags: VS2005Tip,VS2008Tip

Comments (3)

  1. George says:

    hi Sara!

    Well done for such a nice blog. It is really very informative and helping.

    Keep up the good work




    Also visit my site for

    [url=http://softwareqatestings.com]Software testing[/url]  [url=http://softwareqatestings.com]software testing tutorial[/url]  [url=http://softwareqatestings.com]software testing interview questions[/url]


    Softwareqatestings.com TelecomFYI.com

  2. My latest in a series of the weekly, or more often, summary of interesting links I come across related to Visual Studio. Via Jason Haley : Sasha Goldshtein has written some managed code to assist with Programmatically Generating a Dump File . Via Steve

Skip to main content