Cosas útiles (y no tanto...)
La idea es publicar aquí los tips, rarezas y/o detalles interesantes encontrados mientras desarrollamos aplicaciones.
miércoles, septiembre 19, 2007
viernes, septiembre 14, 2007
Como deshabilitar un Guidance Package mal registrado
Si el VS empieza a dar errores apenas levanta y no permite acceder al Guidance Package Manager (la manera estandar de deshabilitar un Guidance Package), hay que seguir estos pasos para eliminarlo manualmente:
Unfortunately it's relatively easy to get into states where guidance packages don't want to uninstall. Here are some tips:
First try to uninstall all guidance packages cleanly:
1. If they were installed through an MSI, try to remove it using Add/Remove Programs.
2. If they were installed using code, open the solution and run GAT’s Unregister recipe
Make sure you do not uninstall GAT until all code-registered packages have been removed!
If there are packages that cannot be removed, here is how to remove them manually:
1. Open C:\Documents and Settings\All Users\Application Data\Microsoft\Recipe Framework\ReceipeFramework.xml
2. Remove any or all of the
3. Open the registry and look for the following keys under HKLM\Software\Microsoft\VisualStudio\8.0
- Packages\{77d93a80-73fc-40f8-87db-acd3482964b2}\Templates : Delete all subkeys that refer to guidance packages you don’t want any more (they will have GUIDs as their key names)
- Languages\CodeExpansions\CSharp\Paths : Delete all values that refer to guidance packages you don’t want any more
- Menus : Delete all values that refer to guidance packages you don’t want any more (they will probably be at the bottom after all the ones named after GUIDs)
- NewProjectTemplates\TemplateDirs : Expand each of the subkeys (they will have GUIDs as names) and expand the /1 key below that. If you find one whose (Default) value is named after an unwanted guidance package, delete the entire GUID key and the /1 key below that.
4. If any of the guidance packages you removed manually were installed from an MSI, run msizap to clean up the MSI-related registry settings.
Tomado de este post
Etiquetas: GAT-GAX, Guidance Packages, Tips
