The Guidance Automation Extensions (GAX) enables Visual Studio to run guidance packages, such as those included in Software Factories, which empower software teams to automate key development tasks inside Visual Studio.
I am currently creating a Guidance Package using GAX2010. We have a lot of developers and a lot of (existing) solutions for which the package will be used, so it will be a big burden for all developers to manually enable the guidance package for the solutions. Therefore, I am looking for a way to automatically enable my guidance package. Is it possible to auto enable my guidance package for every solution or even when VS starts? I tried searching the net and the GAX forum (which isn't very active anymore it seems), but I can't find anywhere how this can be accomplished. Only thing I find so far is the following post: http://social.msdn.microsoft.com/Forums/en-US/vsgatk/thread/d2cbc049-dd51-4119-9e9e-c17f797afddf However, I have no clue on how to apply this to my package and if this would solve my problem.
I would appreciate any help.
Like I said on my post titled "Sharing .gpState files" March 7, 2011, what I do is check-in the .gpState file with the .sln, so at least when other developers get the solution out of source control, the guidance package(s) is/are already enabled for the solutions for them. You will still need to enable the guidance packages for each solution one time.
Every time I tried to install GAX 2010, I got thsi error: VSIXInstaller.exe has encountered a problem and needs to close.
So I went ahead to downlaod Guidance Automation Extensions (GAX) from http://www.microsoft.com/download/en/details.aspx?id=11392, and run this msi and insatlled without a problem. However, When I tried to get GAT which requires GAX instaleld first from visual studio extension manager, it asks me to install GAX first. How do I solve the problem? Thank you for your help.
I have vistual studio 2010 Premium SPD1, windown xp, and 32 bits computer.
Based on GAX/GAT we created a SharePoint Software Factory (http://visualstudiogallery.msdn.microsoft.com/4c5664f6-fefc-446b-b91c-36bec0c87e35). And it works really well.
Thank you for providing the GAT toolkit.
We are really happy that Microsoft still provides GAX/GAT in VS 2010.
If one does not check-in the .gpState file, then in a team environment everyone on the team must manually (re)bind the solution(s) to the guidance package(s), which is kind of a pain.
So I want to check-in the .gpState files. However this presents another issue.
With the file under source control (TFS in this case), it is read-only. GAX always tries to write to the file even though it doesn't change the actual contents. If a developer has "auto checkout" enabled, it works fine, checking out the file and overwriting it. (Then I think checking in the file would do nothing since the contents have not changed)
However, if one does not have "auto checkout" enabled, it prompts the developer to check it out. Well, I don't want it to check it out because I know it is not actually changing the file and I don't want it to even if it does. Just leave it alone. So I cancel the check-out dialog. The next thing is, it CRASHES Visual Studio 2010. That's not good! Please fix this bug. If the file is still read-only when you're trying to write to it, just cancel the write operation and move on, just like Visual Studio does when it encounters a read-only .vsmdi file and wants to overwrite it.
Note: Also posted here: http://social.msdn.microsoft.com/Forums/en-US/vsgatk/thread/3c995337-358e-415b-9bbb-c9d4f6427439
I do not know if either of these forums are very active. Posted the link to this at the other as well, in trying not to be a bad cross-poster.
Is this library supposed to be included with GAX 2010? Seems like it should be.
You can get 2.0 version out of the Web Client Software Factory 2010. Either the source in \Trunk\Source\Lib\GEL
Or from where the WCSF 2010 Guidance package gets installed for Visual Studio 2010:
C:\Users\<username>\AppData\Local\Microsoft\VisualStudio\10.0\Extensions\Microsoft\Web Client Software Factory 2010\3.0
In my VS 2008 project I defined my recipes in other files and inlude the defintion in the Guidance Package file with the xml include tag.
Description="Guidance package for application."
xpointer="xmlns(gax=http://schemas.microsoft.com/pag/gax-core) xpointer(gax:Recipe)" />
Now in the 2010 version it seems that the include tag is no more valid. have you any idea how we can include the definition of a recipe defined in an external file?
First, be sure you have opened VS2010 as an administrator. If you still can't uninstall through the extension manager, close all instances of VS and remove the necessary folders under C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\Extensions\Microsoft patterns and practices. This will also need admin rights.
thank you for releasing the beta of GAX2010.
Nevertheless, I didn't manage to register Guidance Pakages for VS2010.
Even if they work fine on VS2008.
Do the packages need adjustments? can thes adjustments be made without a GAT2010?
Will you release a toolkit beta?
Thanks in advance and thanks for continuing GAX in VS2010!!!
as my company beside GAX used Microsoft.Practices.RecipeFramework.Extensions.dll as there were more powerfull actions, editors, helper methods etc... Is there vs2010 compiled version of this library, and if not will it be available soon?
Yes, we knew posting GAX without GAT would be only somewhat helpful. Hopefully this will help lots more: http://cut.ms/OrW
We also hope to be posting the release candidates of both GAT and GAX (here on the Gallery) this week.
I started with conversion of my Package ...
I followed instructions you put on web, and with few bugs I managed to reach this exception and there I stucked... Buld is looking for a template in a wrong dir... it is in solutions\projects folder not just in projects folder
Error 116 The "GenerateMenuResource" task failed unexpectedly.
Microsoft.Practices.RecipeFramework.RecipeFrameworkException: Unexpected error loading template file name ..\..\..\..\..\..\Output\HI\Factory\Templates\Projects\PartsLibrary\PartsLibraryTemplate.vstemplate. Make sure that the template is well formed and try again. ---> System.IO.DirectoryNotFoundException: Could not find a part of the path 'D:\MainWorkSpace\Output\HI\Factory\Templates\Projects\PartsLibrary\PartsLibraryTemplate.vstemplate'.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize)
at System.Xml.XmlDownloadManager.GetStream(Uri uri, ICredentials credentials, IWebProxy proxy, RequestCachePolicy cachePolicy)