Welcome to MSDN Blogs Sign in | Join | Help

Sara Ford's Weblog

My adventures embracing open source on CodePlex and at Microsoft

News

    • Did you know... All author proceeds go directly to sending Hurricane Katrina survivors to college.

      Microsoft Visual Studio Tips book

      Recent Entries

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: ,
Posted: Thursday, May 29, 2008 3:00 AM by saraford

Comments

George said:

hi Sara!

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

Keep up the good work

Regards

George

-----------------------------------

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

# May 29, 2008 2:37 PM

Visual Studio Hacks said:

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

# May 30, 2008 10:23 AM
New Comments to this post are disabled
Page view tracker