"Add View (with presenter)" is missing in context menu

Topics: CAB & Smart Client Software Factory
Aug 26, 2008 at 9:36 PM
I'm working my way through the SCSF Developer Hands-on Labs, to learn SCSF.  I am now up to lab #3.  I'm using VS 2008 Pro, with the April 2008 SCSF best practices and procedure for SCSF.  In the third lab, exercise 1, task 1 "Add a new view (with presenter)" it says:

In Solution Explorer, right-click the Views folder of the ShippingModule project, point to Smart Client Software Factory, and then click Add View (with presenter)

Well, when I right-click on the Views folder of the ShippingModule project, there is no Smart Client Software Factory option.  So, I'm not sure how to proceed.  What am I missing?
Aug 27, 2008 at 7:38 AM
Rod,

as far as I can remember you're not the first. There must be at least one thread describing the same problem and providing a solution. Try using the forum's search function.

Regards, Gerald
Coordinator
Aug 27, 2008 at 3:22 PM

Hi

 

This error occurs with Smart Client Software Factory solutions in the following scenarios:

·         Infrastructure.Interface project properties (Name, AssemblyName) have been modified.

·         Visual Studio 2008 SP1 (either beta or release version) has been installed.

 

The following fix works for both scenarios:

·         SCSF - April 2008 with VS2008 + SP1 Beta Known Issues

 

Another possible cause could be that the Smart Client Guidance Package is not enabled. To enable it: In the Tools menu item, select the Guidance Package option and enable the Smart Client Development – April 2008 Guidance Package.

                                                                                                      

Please, let me know if it helps.

 

Damian Schenkelman

http://blogs.southworks.net/dschenkelman

Aug 27, 2008 at 4:14 PM
Hi Damian,

OK, I've gone to the link that you listed for SCSF - April 2008 with VS2008 + SP1 Beta Known Issues.  I've made the modifications to the Guidance Package source code that link recommends doing.  The instructions at step #13 in that document reads, "Compile and Register the fixed Guidance Package".  Compiling is easy, but I'm afraid that I'm ignorant as to how, or where, to register the fixed guidance package.

Rod
Coordinator
Aug 27, 2008 at 4:58 PM

Hi

 

To register a custom (new or edited) Guidance Package you must have GAT February 2008 version installed. Then, you must enable it in the Guidance Package Manager which you can access from the Tools menu.

 

Once the GP is enabled, you must right-click the Guidance Package solution you are editing and click “Register Guidance Package”.

 

For more information you can check:

·         Modifying the Guidance Package

 

Please, let me know if it helps.

 

Damian Schenkelman

http://blogs.southworks.net/dschenkelman

Aug 28, 2008 at 12:21 PM
Ok, I have done the fix but after a couple ofl days I am missing the "add view" command again.

Coordinator
Aug 28, 2008 at 4:03 PM

Hi

 

Once the fix has been registered it should work in any new SCSF solution as long as the Guidance Package is enabled.

 

Is the Smart Client GP enabled in your solution?

It is possible that the guidance package might have been disabled, for example if the original .gpState file was modified/removed, and needs to be enabled again. When the Guidance Package is enabled the Add View recipe ought to appear again.

 

Please, let me know if it helps.

 

Damian Schenkelman

http://blogs.southworks.net/dschenkelman

Aug 28, 2008 at 8:01 PM

OK, I've gone ahead and installed the GAT February 2008 version that you mentioned.  Somehow I think I have been able to register the change, although I didn't do it via the method you mentioned, Damian.  Anyway, I now have access to the "Add View (with presenter)" option when I right-mouse on the Views folder.

I'd like to know if I can close that Guidance Navigator dialog box?  Once it pops up it really is in the way.

Coordinator
Aug 28, 2008 at 10:05 PM

Hi

 

You can close the Guidance Navigator dialog box since it is only a helper to use the GP. Closing the dialog box will not disable the guidance package.

 

Please, let me know if it helps.

 

Damian Schenkelman

http://blogs.southworks.net/dschenkelman

Aug 29, 2008 at 9:07 PM
It does help, Damian, thanks.
Nov 19, 2009 at 6:56 PM
RodAtWork wrote:

OK, I've gone ahead and installed the GAT February 2008 version that you mentioned.  Somehow I think I have been able to register the change, although I didn't do it via the method you mentioned, Damian.  Anyway, I now have access to the "Add View (with presenter)" option when I right-mouse on the Views folder.

I'd like to know if I can close that Guidance Navigator dialog box?  Once it pops up it really is in the way.

 Does it really work on , whatever new or old project? Thanks

 

 

 

 

 

Nov 20, 2009 at 8:08 PM

I FIX IT BY MYSLEF. AND IT IS REALLY SIMPLE

 

 

http://smartclient.codeplex.com/Thread/View.aspx?ThreadId=6211