'Test With... Debugger' - Fixed!

It has been a frustrating few days getting 'Test With... Debugger' working again when any of the Beta2 products are installed (VS2005 or Express).  It turns out there are two completely independent issues.  One breaks debugging in VS2003 when installed side-by-side with VS2005.  The other appears to be an issue with the VS2005 debugger itself (it crashes when it can't find one of the PDB files).  I've created a new installer with workarounds for both of these issue.

The other day I mentioned a way to get debugging working again in VS2003 (by adding a 'bindingRedirect' to Visual Studio's 'devenv.exe.config' file).  Unfortunately this has side effects of its own and prevents the command bar buttons from being installed on a fresh install of TestDriven.NET.  Everything worked just fine assuming TD.NET had already been installed.  If you made this change, I would recommend rolling it back and installing the new version.

There are a couple of other changes worth mentioning.  I've updated the 'QualityTools' test runner so that is works with the latest VSTS 'Test Project's.  I've also improved the plug-in model for test runners.  You'll need this version if you want to use the version of MbUnit on Tigris with TD.NET.  Everything is there to build your own compatible MbUnit installer (using MSBuild + Wix).

You can find the new build here.  Please let me know how you get on so I know when to make a higher profile announcement.

6 Comments

  • Hi there. I've just downloaded and tried this new version on VS2003, and test solution no longer works. I can right click on a project and test that, but when I right click on a solution and select "Run tests", the solution is built, but nothing happens about the tests.



    I can right click and select run in nunit gui, and I get a process invocation exception.



    Hope this helps!



    Matt

  • Why isn't this setup listed in the download area of the TestDriven.net site?

  • I can build MbUnit OK but the resulting MSI is no good. Can someone do a binary release of MbUnit?



    G.

  • Jens,



    This build is just experimental. I wanted a few people to test it before announcing it on the main site.

  • Hi Jamie,



    Installing the MSI gives the following error:



    === Logging started: 05/05/2005 13:15:14 ===

    Action 13:15:14: INSTALL.

    Action start 13:15:14: INSTALL.

    Action 13:15:14: ValidateProductID.

    Action start 13:15:14: ValidateProductID.

    Action ended 13:15:14: ValidateProductID. Return value 1.

    Action 13:15:14: CostInitialize. Computing space requirements

    Action start 13:15:14: CostInitialize.

    Action ended 13:15:14: CostInitialize. Return value 1.

    Action 13:15:14: FileCost. Computing space requirements

    Action start 13:15:14: FileCost.

    Action ended 13:15:14: FileCost. Return value 1.

    Action 13:15:14: CostFinalize. Computing space requirements

    Action start 13:15:14: CostFinalize.

    Action ended 13:15:14: CostFinalize. Return value 1.

    Action 13:15:14: ExecuteAction.

    Action start 13:15:14: ExecuteAction.

    Error 1305. Error reading from file X:\mbunit\src\src\build\MbUnit.msi. System error 1008. Verify that the file exists and that you can access it.

    MSI (c) (A0:4C) [13:15:24:140]: Product: MbUnit -- Error 1305. Error reading from file X:\mbunit\src\src\build\MbUnit.msi. System error 1008. Verify that the file exists and that you can access it.



    Action ended 13:15:24: ExecuteAction. Return value 3.

    Action ended 13:15:24: INSTALL. Return value 3.



    Needless to say, the file exists and I can access it. :)



    IIRC the files are stored in a cabinet within the MSI and my guess is that it's corrupted in some way, or that there's a space there for it but it hasn't been put in the file. I can load the MSI in Orca and see the tables, but if I save the MSI back out from Orca it shrinks down to a few KB, which I suppose would be without the cabinet.

  • Hi Jamie,



    the "restart" comnmand available in 1.0 is gone in this 1.1 release, I found it really useful, would really appreciate if you would put it back in!



    Best regards!

    /marcus

Comments have been disabled for this content.