Visual Studio Development Bookmark and Share   
 index > Visual Studio Guidance Automation Toolkit > Actions in Visual Studio 2005 Guidance Automation Toolkit (GAT) Very Slow
 

Actions in Visual Studio 2005 Guidance Automation Toolkit (GAT) Very Slow

All,

I started playing around with the February 2008 version of GAX/GAT and have recently been dogged by VERY slow response when developing a guidance package. My guidance package started with the sample solution you get when you create a Guidance Package solution.

From experience (and warnings) I expected the Register and Unregister to be slow but even file saves are slow - a few minutes! The UI is unavailable during the save.

I do not have any problems with other non-GAT projects in VS 2005 (Team Edition for Developers).

I did some checking and found some great tips on how to debug slow performance in Visual Studio 2005. As a result of my research I downloaded and installed ProcessMon (procmon.exe)to monitor file operations originating from the devenv.exe process of my VS 2005 session. I found that during a save of any file, devenv writes to a file namedC:\Documents and Settings\xxxx\Local Settings\Application Data\Microsoft\VisualStudio\8.0\1033\ExpansionsXML.xml over 32,000 WriteFile operations. I'm not joking. I don't know all of what the data means but it sure isn't normal. I excluded the above file from my Virus Scan but there was no noticable improvement.

Does anyone have any similar performance problems with this version of the GAT? Why is this file (seems to be related to snippets) being updated and why so much? Any other tips to resolving this?

Thanks!
Daryl

drudolph  Wednesday, June 11, 2008 9:07 PM
I seemed to have resolved the problem (at least for now). I closed VS, deleted the fileC:\Documents and Settings\xxxx\Local Settings\Application Data\Microsoft\VisualStudio\8.0\1033\ExpansionsXML.xml (backed it up first) and restarted VS with my project. Save in a guidance package project is back to is usual speed. VS regenerated the file. Must have been corrupted. Don't know yet if deleting the file had any adverse consequences.

Daryl
drudolph  Thursday, June 12, 2008 12:36 AM
Hi Daryl,

There is no code in all GAX that access the file you mentioned (ExpansionsXML.xml) so I'm guessing this may be due to some other component running in VS or maybe VS itself... but rest assured that file is not accessed from GAX.

thanks,
-Victor.
Working with GAX/GAT/DSL? Download SFT now! http://softwarefactoriestoolkit.net
vga  Thursday, June 12, 2008 6:22 AM

You can use google to search for other answers

Custom Search

More Threads

• How to use Generic List in T3
• Executing same T4 action several times with different parameter values
• How to pass parameters to T4 templates using GAX?
• Can't download GAT
• Guidance automation toolkit(February 2007 CTP) is unable to be installed
• Question about Arguments
• CAB - Open a View from another view that exists in another or in the same module
• URGENT: Project and Item Templates issue!
• Visual Studio hangs when I install the T4Editor!!
• Could MS provides its own T4 editor for GAT or DSL?