Visual Studio Development Bookmark and Share   
 index > Visual Studio Guidance Automation Toolkit > C++ in GAX
 

C++ in GAX

Hi, has someone try to use GAX with c++ and has a sample?

I created a Solution with some projects with c# and it works fine.
Now I have to do the same for c++ but it seem GAX don’t supply c++. C++ has no templates only wizard.
Has someone experience with this?

Thanks

mGfeller  Thursday, June 19, 2008 7:08 AM

What you may have found is that VS support for automating C++ projects is quite different than its C# or VB counterpart ones. This is the main entry page to C++ automation support in VS:

http://msdn.microsoft.com/en-us/library/174179de(VS.80).aspx

What is exactly what you're trying to achieve that is failing?

thanks,
-vga.

Working with GAX/GAT/DSL? Download SFT now! http://softwarefactoriestoolkit.net
vga  Saturday, June 21, 2008 9:40 PM

Hi, thanks for your replay.

I was looking for a workaround:I will use the same struktur as in C# where you can export a template anduse it in a vstemplate (green comment):

<VSTemplateVersion="2.0"Type="ProjectGroup"xmlns="http://schemas.microsoft.com/developer/vstemplate/2005">
<TemplateData>
<Name>SWAPSolution</Name>
<Description>GuidancePackagethatcreateaSolution.</Description>
<ProjectType>CSharp</ProjectType>
<SortOrder>91</SortOrder>
<Icon>SWAPSolution.ico</Icon>
<CreateNewFolder>false</CreateNewFolder>
<DefaultName>Solution</DefaultName>
<ProvideDefaultName>true</ProvideDefaultName>
</TemplateData>
<TemplateContent>
<ProjectCollection>
<!--<ProjectTemplateLinkProjectName="$SolutionNameSpace$.$SolutionName$">Projects\Runtime\Runtime.vstemplate</ProjectTemplateLink>--></ProjectCollection>
</TemplateContent>
<WizardExtension>
<Assembly>Microsoft.Practices.RecipeFramework.VisualStudio,Version=1.0.51206.0,Culture=neutral,PublicKeyToken=b03f5f7f11d50a3a</Assembly>
<FullClassName>Microsoft.Practices.RecipeFramework.VisualStudio.Templates.UnfoldTemplate</FullClassName>
</WizardExtension>
<WizardData>
<Templatexmlns="http://schemas.microsoft.com/pag/gax-template"SchemaVersion="1.0"Recipe="CreateSolution">
</Template>
</WizardData>
</VSTemplate>

But c++ doesn't supportvstemplate.
I have solve it: I copy the whole "sample" project and replace the tokens myself.

It works, but I'm not really happyabout it.

thanks
  • Proposed As Answer byvga Thursday, July 03, 2008 2:12 AM
  •  
mGfeller  Monday, June 23, 2008 7:01 AM
That's a limitation of the C++ project system then. You may want to use Connect to submit a suggestion to the C++ team so they consider adding this for a future version.

-vga.
Working with GAX/GAT/DSL? Download SFT now! http://softwarefactoriestoolkit.net
vga  Thursday, July 03, 2008 2:12 AM

You can use google to search for other answers

Custom Search

More Threads

• Installing Clarius SFT for July 2007 GAT CTP
• Create a single file generation that use T4 template
• Guidance automation extensions exception
• GAT July 2007 Cannot Find ENVDTE
• Guidance Automation Extensions Registration does not work
• DependentUpon
• VS2008 Standard vs Professional
• How to make item templates appear in "sub categories" in VS 2008
• This forum is moving â€?week of 5/27
• Add WCF Service Reference