Visual Studio Development Bookmark and Share   
 index > Visual Studio Guidance Automation Toolkit > Visual Studio hang removes the guidance package binding from solution
 

Visual Studio hang removes the guidance package binding from solution

Hi,

Ihave a guidance package that stops loading after Visual Studio 2005 hang. The problem arises when because of some reason, during execution of one of the recipes, the Visual Studio (2005) gets stuck. WhenI close and restart the Visual Studio and open the project (for which the recipe execution hung), it does not load my Guidance Package with it, and thus no recipe option appear in the command bar. However, if I load some old project for which Visual Studio has not hung yet, the package loads properly and all the options are present. Creation of new projects also works properly.

The recipes also seem to be fine because Visual Studio chooses different (random) recipes every time it decides to hang itself. If I create a new project and use the same recipe again, it works without any problems. That leads me to believe that it can be a problem of Visual Studio. Is it true?

Also, Is there any way by which I can restore the Guidance Package options for the project (for which VS2005 hung)?

Thanks & Regards,

Ashwani

Ashwani Kumar Verma  Wednesday, February 27, 2008 2:03 PM

Hi,

You should be able to attach your package to the solution again by using the "Guidance Packag Manager" (Tools menu). You canuse the"enable/disble package" button to attach the package again.

Do you have some more info about the error that makes VS.NET hang (dump info?)?

Edward

Edward Bakker  Wednesday, February 27, 2008 2:11 PM
Hi Ashwani,

first of all you have to find out for what reason your Visual Studio hangs, regarding to reload the project with the recipe correctly binded what you can do is just delete the .gpstate file. That should be works if your recipe is unbounded.

If that works, most probably your issue is in the recipe reference code.

ps: you'll find the .gpstate file next to your .sln file.

hth.
jose.
Jose Escrich  Thursday, February 28, 2008 11:00 AM

Hi,

You should be able to attach your package to the solution again by using the "Guidance Packag Manager" (Tools menu). You canuse the"enable/disble package" button to attach the package again.

Do you have some more info about the error that makes VS.NET hang (dump info?)?

Edward

Edward Bakker  Wednesday, February 27, 2008 2:11 PM

Hi,

I have tried that option but after selecting the Guidance package, the visual studio does not do anything. It simply closes the window without making any changes to the current state of the project.

As for the visual studio hang situation, i can create it by clicking anywhere in the visual studio window while it is busy exceuting any recipe. If I do not click, then the recipe will proceed successfully to the end and there will not be any issues.

Ashwani

Ashwani Kumar Verma  Wednesday, February 27, 2008 5:58 PM
Hi Ashwani,

first of all you have to find out for what reason your Visual Studio hangs, regarding to reload the project with the recipe correctly binded what you can do is just delete the .gpstate file. That should be works if your recipe is unbounded.

If that works, most probably your issue is in the recipe reference code.

ps: you'll find the .gpstate file next to your .sln file.

hth.
jose.
Jose Escrich  Thursday, February 28, 2008 11:00 AM

You can use google to search for other answers

Custom Search

More Threads

• enable/disable - wizard navigation buttons
• Use of ExpressionEvaluatorValueProvider in VS2008
• Can not install Web Client Software Factory Templates
• Error installing Mobile Client Software Factory on Vista - Cannot Connect to IIS
• GAT/GAX Automated build for TFS
• Can't register packages
• Access Denied Error
• Evaluator ValueProvider error
• 64 bit installer support
• Set an "Overview" HTML page to the Guidance Package