Partager via


Common Web Context Menu Constants

[From the prolific pen of Douglas Hodges. Continued from Common Context Menu Constants. ]

Visual Web Developer Project Specific Information

:

The context menu for the Web Project node has the following groups:

  • guidVenusCmdId:IDG_CTX_BUILD

where

// {C7547851-4E3A-4e5b-9173-FA6E9C8BD82C}
DEFINE_GUID(guidVenusCmdId,
0xc7547851, 0x4e3a, 0x4e5b, 0x91, 0x73, 0xfa, 0x6e, 0x9c, 0x8b, 0xd8, 0x2c);

#define IDG_CTX_REFERENCE 0x0102
#define IDG_CTX_PUBLISH 0x0103
#define IDG_CTX_BUILD 0x0104

Here are some of the commands the web project adds to these special groups:

- guidVSStd97:cmdidBuildSel, guidVenusCmdId:IDG_CTX_BUILD, 0x0100;

guidVSStd2K:ECMD_PUBLISHSELECTION, guidVenusCmdId:IDG_CTX_BUILD, 0x0300;

guidVSStd2K:ECMD_ADDREFERENCECTX, guidVenusCmdId:IDG_CTX_REFERENCE, 0x0100;

guidVSStd2K:ECMD_ADDWEBREFERENCECTX, guidVenusCmdId:IDG_CTX_REFERENCE, 0x0000;

guidVSStd2K:ECMD_UPDATEWEBREFERENCE, guidVenusCmdId:IDG_CTX_REFERENCE, 0x0000;

guidVSStd2K:cmdidViewInClassDiagram, guidVenusCmdId:IDG_CTX_REFERENCE, 0x0500;

guidVSStd2K:ECMD_PUBLISHCTX, guidVenusCmdId:IDG_CTX_PUBLISH, 0x0100;

guidVSStd2K:ECMD_STARTOPTIONSCTX, guidVenusCmdId:IDG_CTX_PUBLISH, 0x0200;

guidVSStd97:cmdidSetStartupProject, guidVenusCmdId:IDG_CTX_PUBLISH, 0x0300;

Jamie Laflen adds this one --

The project kind for a venus project is VsWebSite.PrjKind.prjKindVenusProject

You'll find it in VsWebsite.Interop.dll

------------------------------------
This posting is provided "AS IS" with no warranties, and confers no rights.

Comments

  • Anonymous
    May 16, 2006
    [From the prolific pen of Douglas Hodges. Continued at Common Web Context Menu Constants]...