Menu

Package load failure - again

Help
Patatester
2008-01-21
2013-04-08
  • Patatester

    Patatester - 2008-01-21

    Package load failure pops up when i try loading visual studio.

    Using Visual Studio 2005. I removed the previous version before installing the latest one ( January 18th release )

    Package Adis.VisualStudio.NHibernate.NHibernatePackage, ...

    Anyways, help!

     
    • Patatester

      Patatester - 2008-01-21

      Hmm, it seems its trying to load the 1.0.0.3 version and fails. Tried installing another DSLTools package straight from ms without luck.

       
    • Patatester

      Patatester - 2008-01-21

      OK well, i sort of found a workaround

      I uninstalled everything through the setup.exe

      Then installed 1.0.0.3 through the setup.exe

      Then installed 1.0.0.4 through the NHibernate.MSI file

      Now visual studio loads without complaining of package load failures !!

      I'd like to say i LOVE this plugin. Thanks for all your hard work dude, really appreciate it.

       
      • Henning Eiben

        Henning Eiben - 2008-02-07

        hmm, I tried the same thing, installing 1.0.0.3 and then installing just the 1.0.0.4 ... but this "trick" doesn't seem to work for me.

        BTW: when running 1.0.0.3 I can add NHibernate items alright to my project, but as far as I understand I should be able to drag'n'drop tables from the server-explorer to the newly created diagram, right? Well, that doesn't work ... I get this question about "syncin' classes and tables", but that's about it.

        Any hints?

         
    • Bart

      Bart - 2008-02-25

      I had the same problem. Reinstalling manually also did not do the trick. It seems that in the registry the wrong assembly version is referenced. So if you use REGEDIT and open the key

      HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\8.0\Packages\{a949f01b-0be3-4764-b251-9ec9bb9c7b1c}

      Change the value "(Default)" from

      Adis.VisualStudio.NHibernate.NHibernatePackage, Adis.VisualStudio.NHibernate.DslPackage, Version=1.0.0.3, Culture=neutral, PublicKeyToken=76e2c37b24a54f00

      to

      Adis.VisualStudio.NHibernate.NHibernatePackage, Adis.VisualStudio.NHibernate.DslPackage, Version=1.0.0.4, Culture=neutral, PublicKeyToken=76e2c37b24a54f00

      and change the value "Assembly" from

      Adis.VisualStudio.NHibernate.DslPackage, Version=1.0.0.3, Culture=neutral, PublicKeyToken=76e2c37b24a54f00

      to

      Adis.VisualStudio.NHibernate.DslPackage, Version=1.0.0.4, Culture=neutral, PublicKeyToken=76e2c37b24a54f00

      Everything works, however it only seems to work once. After starting visual studio the plugin works, but the entries in the registry are changed back to the 1.0.0.3 reference. It seems there's a bug in there somewhere :P

       
      • Henning Eiben

        Henning Eiben - 2008-03-04

        Hmm, I did what you proposed - but after installing the 1.0.0.4 MSI I don't even see the addin listed in the splash-screen - as apposed to the 1.0.0.3 installation :(

         

Log in to post a comment.