Visual Studio Development Bookmark and Share   
 index > Visual Studio Guidance Automation Toolkit > Support for Web Application Project
 

Support for Web Application Project

Does the Guidance Atomation Toolkit support the new project type "Web application Project" that should be an alternative to the WebSite project type?
J.Meier  Wednesday, May 17, 2006 7:35 AM
I mean, it doesn't in the sense that you cannot use the friendly names in <CommandBar Name=
kzu  Saturday, May 20, 2006 1:01 PM
No, it doesn't.
However, provided you know the GUIDs and IDs of the command bars exposed by this new project system, you can attach recipes and templates to them easily by specifying that information in the <CommandBar> element.

kzu  Saturday, May 20, 2006 1:01 PM
I mean, it doesn't in the sense that you cannot use the friendly names in <CommandBar Name=
kzu  Saturday, May 20, 2006 1:01 PM

We are having a problem trying to unfold a new .vstemplate project item into a web application project.

When unfolding into a library project the Add new item wizard correctly shows my registered GAT package andmy item type is pre-selected.

When unfolding intoa web application project, the wizard does NOT show my package, just the standardVS project items.

I do not know whether this is a problem with the GAT failing the register with the Web Application Project, or the Web Application not honouring the registration.

Any helpgreatly appreciated.

Michel.

mliesmons  Monday, July 24, 2006 8:29 AM
GAX registers itself with a filtering capability for the Add New dialogs. Most probably, the new web project feature is exposing new extension points for filtering its own dialog, that GAX is not registering with as the web projects didn't exist at all when GAX was developed ;-)

So, I'd suggest that you directly unfold the template from a custom action, and launch this process from a standard recipe. The code would be something like:

project.ProjectItems.AddFromTemplate(.... )

You can calculate the desired template full path by using the IConfigurationService.BasePath, which is the installation folder for the guidance package.

Let me know how it goes.
kzu  Thursday, August 03, 2006 3:38 PM

Thanks for the answer.

Isee what you mean. Unfortunaltely I'm currently assigned to a 'critical' project, and won't be able to try it right away.

I'll keep you posted as soon as I (or someone else) did.

mliesmons  Thursday, August 03, 2006 9:34 PM

You can use google to search for other answers

Custom Search

More Threads

• Template runs as part of the target solution but does not run as part of a Guidance Package
• Extending Designer Toolbox
• Reference Issue
• Web Client Software Factory: I cannot create a module with name Menu
• Unable to uninstall or reinstall SCSF
• How to add a file and project reference
• How to add multiple projects to an existing solution using GAT/GAX?
• Facing problem while working with file system under source control
• GAT July 2007 and SCSF fails to install on Vista and VS 2008
• SCSF April 2008 - Navigation issue in WPF view