Hi Andy,
This is just a ballpark guess, but did you include the missing commands in
the CMDUSED_SECTION section of your .CTC file? You might need to do this,
and then run devenv /rootsuffix Exp /setup to get them to show.
Sincerely,
Ed Dore [MSFT]
This post is 'AS IS' with no warranties, and confers no rights.
snae - 30 Apr 2006 18:04 GMT
I have tried this, with no success. Looking at the example projects,
they include very little in the .ctc files by default. Mu .ctc file
does contain a few things which appear just as they should. One thing
that may help to solve this is that in the MyCPkgs example there is no
'Clean Solution' in the context menu at solution level, but there are
Build and Rebuild. The FigPkg example however does contain all three
entries. I cannot find where the differences are which make this the
case. Does this provide any more clues as to where the problem may
lie?
Thanks again
snae - 09 May 2006 13:00 GMT
I found the solution to this. It appears that something has changed
between 2002/2003 and 2005 with respect to
IVsBuildableProjectCfg::QueryStartBuild and
IVsBuildableProjectCfg::QueryStartClean. In my previous
implementations I was returning FALSE for pfSupported and pfEnabled
(can't remember why now...) and 2002/2003 work with these values. 2005
requires (correctly I would assume) that these two out parameters are
set to TRUE to allow the context menu at Solution level to display
Build/Rebuild and Clean.