Udostępnij za pośrednictwem


February 2007 GAX/GAT and Project Glidepath

UPDATE: Well, it turns out that instead of marking MVP.XML.DLL as Permament=True, I don't need to install it at all as it is now part of the GAX/GAT install process. So if you have a "legacy" Guidance Package (I started creating the one inside Project Glidepath in February of 2005!) you should right click on (a) the MVP.XML.DLL file and select "Exclude" and (b) do the same for all the Microsoft.Practices.RecipeFramework.* DLLs as well.

I am just about to release version 3.0 of Project Glidepath (this time including the SDK!) and I wanted to test with the latest GAX/GAT bits... and then it got weird... for a while. 

I ran into a couple of issues I thought I'd blog about since it cost me an hour of mostly futile web searching.

1. I uninstalled the 2.0 version of the Project Glidepath Repository Manager... no problems, so far, so good 

2. I uninstalled the old CTP version of GAX it complained that it couldn't find MVP.XML.DLL but I found a way around that (msiinv.exe and msizap.exe which are part of the Windows SDK)

3. However, when I tried to install the Feb07 GAT I got an error saying it couldn't load MVP.XML.DLL which is "supposed" to be in the GAC (Global Assemblies Cache).  I searched my system and did find a copy of it and, after quite a bit of head scratching, figured out I needed to:

  • Put it here: C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\PublicAssemblies
  • Open a VS command shell in that directory
  • Run gacutil /i mvp.xml.dll

Once I did that I could install GAT.

Turns out that the Project Glidepath Repository Manager setup had set the Permanent property of this file, which is included in the PGRM install by the Guidance Package setup project, to "False"and thus when I uninstalled the PGRM it removed the file which GAX required.

Rest assured it has already been fixed but if you run into the same problem upgrading from 2.0 to 3.0 now you'll know what to do.

One important note: You must install BOTH GAX and GAT (starting with the June 2006 CTP version) as the GAT folks moved some of the DLLs that are needed by Project Glidepath into the DLLs installed by the GAT installation.