NUnitAddIn 0.9.574 + Visual Studio 2003

A few people have had issues running this latest build under Visual Studio 2003.  I know it works on some machines (mine for a start!).  Peli has Visual Studio 2002, 2003 and C# Express installed and it worked on all of them.  Loren has had it working with just Visual Studio 2003 installed.  I am now pretty stumped as to why it works on some machines but not others.

If you have installed NUnitAddIn 0.9.574, please comment here and let me know if it worked.  Could you let me know that versions of Visual Studio you have installed and what .NET runtime versions.  The more reports I have the better!

Gary Feldman said:

Visual Studio knows about it, but when I try to enable it, I get "The System cannot find the file specified" with error # 8007002 (not that that's much help).

If anyone is familiar with fuslogvw or SysInternals Filemon, you know the drill. ;o)

Update: Thank you Gary Feldman and Frank Adler.  Using Filemon we can see the last file loaded was 'NUnitAddIn.ManagedAddIn.Connect.DLL' and where Fusion probed for it.  Using fuslogvw (the Fusion log viewer) I can see what the problem is.

LOG: Processing DEVPATH.
LOG: Private path hint found in configuration file: PublicAssemblies;PrivateAssemblies.
LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind).
LOG: Attempting download of new URL file:///C:/Program Files/NUnitAddIn/NUnitAddIn.ManagedAddIn.Connect.dll.
LOG: Assembly download was successful. Attempting setup of file: C:\Program Files\NUnitAddIn\NUnitAddIn.ManagedAddIn.Connect.dll
LOG: Entering run-from-source setup phase.
ERR: Error extracting manifest import from file (hr = 0x80131107).
ERR: Failed to complete setup of assembly (hr = 0x80131107). Probing terminated.

'NUnitAddIn.ManagedAddIn.Connect.dll' is auto generated when the add-in is installed.  In this case it is being compiled with .NET 2.0 which isn't compatable with Visual Studio 2003/.NET 1.1.  The installer was built with .NET 1.0.  If .NET 1.0 is installed this is used and a compatable file is generated.  If .NET 1.0 isn't installed then the newest .NET runtime is used (2.0) and an incompatable assembly is generated.  For some reason I thought a runtime with the same major version number would be used if available.  I wonder if the current behaviour is by design?

I've done a new build with ascending 'supportedRuntime's defined in the installer's .config file.  This should have the intended effect (so long you're using a version it knows about!).  I say should because Visual Studio 2003 stopped working when I uninstalled Visual C# Express.  I'm afraid I haven't been able to test it.  =o(  Please let me know if it works.

15 Comments

  • I installed the plug-in in 2003 and didn't have any problems. But I was hoping to get a problem fixed.



    I don't know what I did to my Visual Studio but since a long time I can't debug unit tests. It always says 0 tests. Any clues on it?

    I know about the dll/exe project issue and it has nothing to do with that. But the syntoms seem to be the same.



    I also use the resharper plug-in and went through a lot install/desinstall of nunit plugins. Yours is definetly the best, although I was used to IntelliJ/Junit integration who spoiled me a lot :-)



    Joaquim.

  • Works for me.



    VS2003, .NET 1.1, Windows XP SP2



    Just an FYI however, if you install the Reflector AddIn and the NUnitAddin, they will not work side by side. First time you use the NUnit Addin, reflector suts down, and same if you use Reflector AddIn first (NUnit Addin goes away).

  • Working for me. VS2003, .NET 1.1, XP SP1

  • Here's the assembly load log. I can't tell if this is before or after the file not found error. However, the filemon log only shows two such errors, both on temporary internet files that it turns around and creates, one of which is the log file from which I got the following.



    Thanks,

    Gary



    LOG: Processing DEVPATH.

    LOG: Private path hint found in configuration file: PublicAssemblies;PrivateAssemblies.

    LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind).

    LOG: Attempting download of new URL file:///C:/Program Files/NUnitAddIn/NUnitAddIn.ManagedAddIn.Connect.dll.

    LOG: Assembly download was successful. Attempting setup of file: C:\Program Files\NUnitAddIn\NUnitAddIn.ManagedAddIn.Connect.dll

    LOG: Entering run-from-source setup phase.

    ERR: Error extracting manifest import from file (hr = 0x80131107).

    ERR: Failed to complete setup of assembly (hr = 0x80131107). Probing terminated.



  • PS After reading the other notes more carefully, the obvious question is whether it's failing on systems that have both 2005 and 2003/2002 installed.

  • VS 2003, .NET 1.1, Windows XP SP2

    NUnit 2.2, ReSharper, C# Refactory, Reflector



    Last working version 0.8.428



    Error code: 80070002



    Visual C# 2005 express installed.



    Filemon:

    235 22:36:38 devenv.exe:4720 OPEN C:\Programme\Microsoft Visual Studio .NET 2003\Common7\IDE\NUnitAddIn.ManagedAddIn.Connect.DLL FILE NOT FOUND Options: Open Access: All

    236 22:36:38 devenv.exe:4720 OPEN C:\Programme\Microsoft Visual Studio .NET 2003\Common7\IDE\NUnitAddIn.ManagedAddIn.Connect\NUnitAddIn.ManagedAddIn.Connect.DLL PATH NOT FOUND Options: Open Access: All

    237 22:36:38 devenv.exe:4720 OPEN C:\Programme\Microsoft Visual Studio .NET 2003\Common7\IDE\PublicAssemblies\NUnitAddIn.ManagedAddIn.Connect.DLL FILE NOT FOUND Options: Open Access: All

    238 22:36:38 devenv.exe:4720 OPEN C:\Programme\Microsoft Visual Studio .NET 2003\Common7\IDE\PublicAssemblies\NUnitAddIn.ManagedAddIn.Connect\NUnitAddIn.ManagedAddIn.Connect.DLL PATH NOT FOUND Options: Open Access: All

    239 22:36:38 devenv.exe:4720 OPEN C:\Programme\Microsoft Visual Studio .NET 2003\Common7\IDE\PrivateAssemblies\NUnitAddIn.ManagedAddIn.Connect.DLL FILE NOT FOUND Options: Open Access: All

    240 22:36:38 devenv.exe:4720 OPEN C:\Programme\Microsoft Visual Studio .NET 2003\Common7\IDE\PrivateAssemblies\NUnitAddIn.ManagedAddIn.Connect\NUnitAddIn.ManagedAddIn.Connect.DLL PATH NOT FOUND Options: Open Access: All

    241 22:36:38 devenv.exe:4720 OPEN C:\Programme\Microsoft Visual Studio .NET 2003\Common7\IDE\NUnitAddIn.ManagedAddIn.Connect.EXE FILE NOT FOUND Options: Open Access: All

    242 22:36:38 devenv.exe:4720 OPEN C:\Programme\Microsoft Visual Studio .NET 2003\Common7\IDE\NUnitAddIn.ManagedAddIn.Connect\NUnitAddIn.ManagedAddIn.Connect.EXE PATH NOT FOUND Options: Open Access: All

    243 22:36:38 devenv.exe:4720 OPEN C:\Programme\Microsoft Visual Studio .NET 2003\Common7\IDE\PublicAssemblies\NUnitAddIn.ManagedAddIn.Connect.EXE FILE NOT FOUND Options: Open Access: All

    244 22:36:38 devenv.exe:4720 OPEN C:\Programme\Microsoft Visual Studio .NET 2003\Common7\IDE\PublicAssemblies\NUnitAddIn.ManagedAddIn.Connect\NUnitAddIn.ManagedAddIn.Connect.EXE PATH NOT FOUND Options: Open Access: All

    245 22:36:38 devenv.exe:4720 OPEN C:\Programme\Microsoft Visual Studio .NET 2003\Common7\IDE\PrivateAssemblies\NUnitAddIn.ManagedAddIn.Connect.EXE FILE NOT FOUND Options: Open Access: All

    246 22:36:38 devenv.exe:4720 OPEN C:\Programme\Microsoft Visual Studio .NET 2003\Common7\IDE\PrivateAssemblies\NUnitAddIn.ManagedAddIn.Connect\NUnitAddIn.ManagedAddIn.Connect.EXE PATH NOT FOUND Options: Open Access: All

    247 22:36:38 devenv.exe:4720 OPEN C:\Programme\NUnitAddIn\NUnitAddIn.ManagedAddIn.Connect.dll SUCCESS Options: Open Access: All

    248 22:36:38 devenv.exe:4720 QUERY INFORMATION C:\Programme\NUnitAddIn\NUnitAddIn.ManagedAddIn.Connect.dll SUCCESS Attributes: A

    249 22:36:38 devenv.exe:4720 CLOSE C:\Programme\NUnitAddIn\NUnitAddIn.ManagedAddIn.Connect.dll SUCCESS

  • 576d works for me now in 2005 and 2003 (I don't have the 1.0 runtime installed).



    Cheers!



    Jim

  • It now works for me, too. I had to stand on my head to uninstall the previous version, no doubt due to the mucking around I did. It had a couple of uninstall failures, and when it finally did uninstall successfully, it still left some files around, including (I think), the *ManagedAddIn.Connect.dll. This, in turn, caused the new install to not work - presumably because it didn't overwrite this file, but another uninstall followed by deleting the NUnitAddin folder, and a final install got things back to normal.



    Many thanks,



    Gary

  • It works.



    Thank you

    Frank

  • chfhi retractable awnings syc

  • We wish to have a pool kitchen table moved to an alternative bedroom in
    our home. We heard that we might have to get another felt top for
    the desk. That is a pool dining room table that originally seemed to be
    only $400 from Sears... and also cost $300 to put together.
    I am just wondering could it cost in relation to $300 or
    maybe $600 simply because it's being taken apart as well as set back together?
    Even when it isn't slate but the substitute items?

  • SDGSDADFGASDGASDGHASD ADFHGSDGSADDFHAD
    ASFDSDGSADASDFHGAD FGBNFASDGASDXZCBZX
    SDGSDSDGSADGSDAFHSAD ERYERADFHGDAFSDFH
    FGBNFSDGSADASDFHGAD QWERSDGSADASDGHASD

  • SDGSDADFHGDAFXZCBZX ZVXZSDGSADADSFHGADFS
    ASFDASDGASDSDFH GJTRADFGASDGSDFH
    ZVXZADFHGDAFDFHAD FGBNFASDGASDADFHGAD
    DSGASDGSADDSFGHADS YUKYADFHGDAFADFHAD

  • ZVXZSDGSADGASDGHASD YUKYSDGSADSDGASD
    SDGSDZSDGASDSDFH QWERADFHGDAFASDGHASD
    ASFDSDGSADADSFHGADFS YUKYADFHGDAFASDFHGAD
    YUYSDGSADADSFHGADFS YUYSDGSADADSFHGADFS

  • QWERSDGSADADSFHGADFS QWERSDGSADGDSFGHADS
    YUKYASDGASDASDGHASD DSGAADFGASDGSDFH
    YUYSDGSADSDFH QWERSDGSADDSFGHADS
    ADFHGASDGASDADFHAD YUKYADFHGDAFASDFHGAD

Comments have been disabled for this content.