Re: Failure integrating .NET GPL version of GNAT into Visual Studio 2005



Fionn Mac Cumhaill wrote:


Has anybody done this successfully? I get a package load failure error
message when Visual Studio 2005 starts. If I ignore the message and
try to create an Ada project, I get the following message, which is
similar to the first one:

The AdaCore.AdaPackage.AdaPackage, AdaPackage, Version=1.0.0.0,
Culture=neutral, PublicKeyToken=0c733cd32e50e760
({C9ECF690-C138-42CE-A401-47A5E063CD75}) did not load because of
previous errors. For assistance, contact the package vendor. To
attempt to load this package again, type 'devenv /resetskippkgs' at
the command prompt.


On my machine I found the same problem. There appears to be a registry problem in the GPL version. Normally I use the GNAT Pro version.
Although I'm no expert, I did find that adding the following registry information fixed this problem on my machine.

Put this text in a file called fix.reg and double click on it.

------------------------------------------------
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\8.0\Packages\{c9ecf690-c138-42ce-a401-47a5e063cd75}]
@="AdaCore.AdaPackage.AdaPackage, AdaPackage, Version=1.0.0.0, Culture=neutral, PublicKeyToken=0c733cd32e50e760"
"Assembly"="AdaPackage, Version=1.0.0.0, Culture=neutral, PublicKeyToken=0c733cd32e50e760"
"Class"="AdaCore.AdaPackage.AdaPackage"
"CodeBase"="C:\\Program Files\\Gnatpro\\vs_integration\\AdaPackage.dll"
"CompanyName"="AdaCore"
"ID"=dword:00000068
"InprocServer32"="C:\\WINDOWS\\system32\\mscoree.dll"
"MinEdition"="Standard"
"ProductName"="GNAT Pro for .NET"
"ProductVersion"="1.0.0.0"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\8.0\Packages\{c9ecf690-c138-42ce-a401-47a5e063cd75}\SatelliteDll]
"DllName"="vs_lexer.dll"
"Path"="C:\\Program Files\\Gnatpro\\vs_integration"
------------------------------------------------

BTW, when an Ada project can't be opened, i.e. there is a problem with adaproj,
also check the registry for a value skiploading=1 (should be 0) on the following key:
HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\8.0\Packages\{c9ecf690-c138-42ce-a401-47a5e063cd75}

Hope this helps
Rob

.



Relevant Pages

  • Re: Failure integrating .NET GPL version of GNAT into Visual Studio 2005
    ... I get a package load failure error ... try to create an Ada project, I get the following message, which is ... For assistance, contact the package vendor. ... I did find that adding the following registry ...
    (comp.lang.ada)
  • Failure integrating .NET GPL version of GNAT into Visual Studio 2005
    ... I get a package load failure error ... message when Visual Studio 2005 starts. ... For assistance, contact the package vendor. ...
    (comp.lang.ada)
  • Re: Honestly Curious
    ... vendors to get the Windows logo on their packaging and marketing ... Microsoft themselves don't properly use the registry. ... it's a Windows app. ... About as bad as a registry-dependent package on Windows. ...
    (comp.sys.mac.advocacy)
  • Re: Registry Silent Import
    ... ---Here is a batch file from my screen saver package. ... All I am doing here is moving our custom screen saver to all the comptuers ... Registry Editor Version 5.00" at the top of your file? ...
    (microsoft.public.sms.admin)
  • Re: Registry Silent Import
    ... "KS Loh" wrote: ... ---Here is a batch file from my screen saver package. ... Registry Editor Version 5.00" at the top of your file? ...
    (microsoft.public.sms.admin)