17 June, 2009

New build - 2.3.0.35109

The installer with new version was uploaded. You may download it here

Changes:
* allocation of counters was changed
* IL-body of method is masured even it was never called from target code
* method body is instrumented only before jitting

9 comments:

  1. Привет, залей исходники на сурсфорж в свн (ну или на гуглкод), вроде как самая простая в использовании система контроля версий:)

    ReplyDelete
  2. Any ideas on this error please?

    C:> "c:\Program Files (x86)\Gubka Bob\PartCover .NET 2.3\PartCover.exe" --target NUnit\2.4.8\bin
    \nunit-console.exe
    Retrieving the COM class factory for component with CLSID {FB20430E-CDC9-45D7-84
    53-272268002E08} failed due to the following error: 80040153.
    at PartCover.Framework.Connector..ctor()
    at PartCover.ApplicationEntry.Main(String[] args)

    ReplyDelete
  3. Running PartCover.exe on x64

    If you run it, you'll get the following error message:

    Retrieving the COM class factory for component with CLSID {FB20430E-CDC9-45D7-8453-272268002E08} failed due to the following error: 80040153.

    This is because the COM class requested is 32-bit only, and PartCover is running as a 64-bit app. To fix it, you'll need to use CORFLAGS:

    "%VS90COMNTOOLS%\vsvars32"
    CORFLAGS /32BIT+ /FORCE path\to\partcover.exe

    ReplyDelete
  4. corflags shows this error:

    corflags : warning CF011 : The specified file is strong name signed. Using /Force will invalidate the signature of this image and will require the assembly tobe resigned.

    usage without force command throw this:

    corflags : error CF012 : The specified file is strong name signed. Use /Force to force the update.

    ReplyDelete
  5. I like PartCover. I use 2.3.0.35109. However I newer got html-report to work. It creates a .html file with one line only. Can anyone help me? It is the same using ... by assembly and ... by class.

    Morten

    ReplyDelete
  6. What advantages does PartCover have over NCover? I don't see much information on this website.

    ReplyDelete
  7. PartCover is not working on my code. A small number of classes are handled correctly, but the majority cause errors like the following and record 0% coverage:

    [04016] [02980] GetClassIDInfo failed for .ExtractCurrent
    [04016] [02980] GetClassIDInfo failed for .MoveFirst
    [04016] [02980] GetClassIDInfo failed for .get_Current
    [04016] [02980] GetClassIDInfo failed for .get_CurrentKey
    [04016] [02980] GetClassIDInfo failed for .DecodeInt
    [04016] [02980] GetClassIDInfo failed for .get_CurrentValue
    [04016] [02980] GetClassIDInfo failed for .MoveNext
    [04016] [02980] GetClassIDInfo failed for .MoveNext2
    [04016] [02980] GetClassIDInfo failed for .MoveNext
    [04031] [02980] GetClassIDInfo failed for .Dispose
    [04031] [02980] GetClassIDInfo failed for .FindAtLeast
    [04031] [02980] GetClassIDInfo failed for .Find
    [04031] [02980] GetClassIDInfo failed for .Reset
    ...

    ReplyDelete
  8. Oh, I see. The problem is that PartCover does not support generic classes. Is this hard to fix?

    ReplyDelete
  9. PartCover now handles .NET 4.0 and generic classes

    ReplyDelete