Pablo Galiano : Customizing a VS Shell application

Subscriptions

<September 2010>
SuMoTuWeThFrSa
2930311234
567891011
12131415161718
19202122232425
262728293012
3456789

News

Subscribe to Pablo Galiano by Email

Post Categories

Customizing a VS Shell application

The customization points for our VS Shell application are available in three separate files.

The pkgdef file:

In this file we can customize things like the title bar, splash screen, icon graphics, start page and more.

[$RootKey$]
"ThisVersionDTECLSID"="{65a1a6a1-0b2a-461f-8dc2-1a3ebc299584}"
"ThisVersionSolutionCLSID"="{72636818-5927-4b0d-8c56-8c145875fa4f}"
"SplashScreenBitmap"="$RootFolder$\Splash.bmp"
"AppName"="MyVSShellApp"
"AppIcon"="$RootFolder$\MyVSShellApp.ico"
"CommandLineLogo"=" MyVSShellApp Version 1.0"
"UserFilesSubFolderName"="MyVSShellApp"
"NewProjDlgSlnTreeNodeTitle"="MyVSShellApp installed templates"
"NewProjDlgInstalledTemplatesHdr"="MyVSShellApp installed templates"
"HideMiscellaneousFilesByDefault"=dword:00000000
"AddinsAllowed"=dword:00000001
"DisableOutputWindow"=dword:00000000
"AllowsDroppedFilesOnMainWindow"=dword:00000001
"DefaultSearchPage"="http://search.live.com"
"DefaultHomePage"="http://www.myapp.com"
"HideSolutionConcept"=dword:00000000
"DefaultDebugEngine"="{00000000-0000-0000-0000-000000000000}"
"UserOptsFileExt"="MyVSShellApp_suo"
"SolutionFileExt"="MyVSShellApp_sln"
"DefaultUserFilesFolderRoot"="MyVSShellApp"
"SolutionFileCreatorIdentifier"="MyVSShellApp Solution File, Format Version 10.00"
"PredefinedAliasesString"=""
"DefaultProjectsLocation"="$MyDocuments$\MyVSShellApp"
"AppLocalizationPackage"="{209c95cd-4012-43e5-845a-f09f5f3a13ed}"

 

The pkgundef file:

In this file we can remove VS components by deleting the associated registry entries for our VS Shell application

For example if we want to remove the Server Explorer toolwindow from our VS Shell application:

//Server Explorer
[$RootKey$\ToolWindows\{74946827-37a0-11d2-a273-00c04f8ef4ff}]

 

The vsct file:

In this file we can turn on/off Visual Studio feature sets and menu command groups.

The rule is:

  • To turn on a menu we need to comment the menu definition line
  • To turn off a menu we need to un-comment the menu definition line

<Define name="No_TechSupportCommand"/>
<!-- <Define name="No_F1HelpCommand"/> -->

Links:

http://msdn2.microsoft.com/en-us/library/bb685692(VS.90).aspx

 

Pablo

posted on Thursday, November 22, 2007 7:38 AM by pga

# Help with using the VS2008 Shell @ Tuesday, November 27, 2007 4:48 AM

Pablo has written a series of posts that should be of help to anyone thinking of hosting their applications

Anonymous

# Help with using the VS2008 Shell @ Tuesday, November 27, 2007 5:46 AM

Pablo has written a series of posts that should be of help to anyone thinking of hosting their applications

Anonymous

# Pablo Galiano's VS Shell posts, in a nutshell @ Friday, December 14, 2007 4:12 PM

Pablo Galiano has a great ongoing series of technical blog posts on the new VS 2008 Shell . Links to

Anonymous

# Pablo Galiano's VS Shell posts, in a nutshell @ Friday, December 14, 2007 4:13 PM

Pablo Galiano has a great ongoing series of technical blog posts on the new VS 2008 Shell . Some of the

Anonymous

# re: Customizing a VS Shell application @ Wednesday, August 20, 2008 2:15 PM

Hi Pablo, your posts are great, maybe you can help me: In the installed Isolated application on vs_shell (on a clean machine), if I switch to “Design” view, the shell tries to switch but freezes. I guess I am not loading some package to do the switching, but I don’t know which one. Do you know what packages are involved in “switching to Design view of html pages?”, if not, how can I disable the switching?

David Alfaro