4
Vote

Add View Presenter does not show in context menu

description

The "Add (View Presenter)" option does not show in the context menu for a project. None of the Infrastructure project names or Infrastructure assembly output file names have been changed. The project currently has one view and I am attempting to add a second view. We are using VS 2005.
 
I have gone into the Guidance Package Manager and enabled "Guidance Package Development" and "Smart Client Development" packages (both are version 1.0). If I attempt to "Register Guidance Package" via the Guidance Package Manager, the solution and all of the projects in the solution are greyed out.
 
I can create a new project and everything seems to be working properly. But with this existing solution that contains 14 projects, "Add View" doesn't display. I have compared the csproj files of the existing application and the test application and don't see any significant differences.
 
Any ideas?

comments

mick6701 wrote Aug 27, 2008 at 6:06 PM

The option that is missing is "Add View (With Presenter)" not "Add (View Presenter)". My mistake.

mick6701 wrote Aug 27, 2008 at 6:32 PM

Another piece of information is that the application was recently added to our Clearcase version control system. Our developers have lots of problems with Clearcase so it wouldn't surprise me if Clearcase isn't involved somehow.

mpasztor wrote Aug 28, 2008 at 1:12 PM

We are using ClearCase for version control as well, and have had similar problems. I have noticed that the solution file does not always contain the correct sections. If you look at a solution that has working shortcuts, there is an ExtensibilityGlobals section. This will regularly get removed for me (using June 2006 release of SCSF). I am not sure if this is a CC problem or if it is related to having some members of the team not having the SCSF installed. Also, make sure the Enterprise Library assemblies are checked in to your view. Not doing this caused problems for us as well at the beginning.

mick6701 wrote Sep 2, 2008 at 9:11 PM

The solutions file looked good so that was not the problem. But i did not have the .sln file checked out of CC. Once i checked out the file, the option was available. Go figure.

wrote Mar 7, 2009 at 10:10 PM

wrote Jul 19, 2009 at 8:13 AM

wrote Aug 28, 2009 at 10:34 AM

wrote Feb 21, 2013 at 11:30 PM

xiaoyuandlg wrote Jan 15, 2014 at 6:15 AM

I've read something about a Context Menu, don't know would it be helpful or not. Hope it be useful.