Unwanted .gpState file

Topics: Web Client Software Factory
Aug 17, 2007 at 10:08 PM
Ok,

Why do I det a .gpState file on every solution I open, even those I am not using Guidance Packages in? Help me make the files go away!

Thanks,
BOb
Aug 21, 2007 at 2:58 PM
Hi Bob,

From Guidance Automation Toolkit help’s topic: “Using Guidance Packages”


As a developer uses a guidance package in their Visual Studio Solution, the Guidance Automation Extensions will store information about how the guidance package is used in the solution into a file named <SolutionName>.gpstate in the solution folder. The following information is stored in the .gpstate file:
  • Bound references and their initial state
  • Unbound references and their initial state
  • A list of guidance packages that have been enabled on the solution (with version numbers)
  • For each guidance package, a flag that says if the binding recipe has been executed for that guidance package
  • Version information for the guidance package
You should not delete the .gpstate file, because it will cause the solution to lose this information.
By default, the .gpstate file is not added as a solution item in the Visual Studio solution. If a team of developers is working on the same solution and the team wants to share guidance package state, the .gpstate file can be added to the solution and checked into source control. If several developers make changes to the guidance package state in their solutions at the same time, it will be necessary to merge the changes in the .gpstate file when it is checked in. Another important consideration when using guidance packages in a team environment is ensuring that each developer has every guidance package required by the solution installed, and that the versions are the same. If there is a mismatch between guidance packages or versions installed by different developers, the Guidance Automation Extensions will delete any state that applies to guidance packages that are not installed.


I’m not sure if what you want to do is feasible having GAX installed. Besides that, since what you are asking is a GAX specific task, maybe you can post this in http://www.guidanceautomation.net/ too (I did a quick search about this but couldn’t find anything).

Hope it helps!

Luciano G. Panaro
http://staff.southworks.net/lpanaro
Aug 21, 2007 at 10:09 PM

I’m not sure if what you want to do is feasible having GAX installed. Besides that, since what you are asking is a GAX specific task, maybe you can post this in http://www.guidanceautomation.net/ too (I did a quick search about this but couldn’t find anything).


thanks... so I guess I will just have to live with them and have svn ignore them. I still think it is a bug if I haven't registered and GAP's with the solution that it is even creating the file.

BOb