Menu

#820 System.FormatException when using DllHarvester with bad path

v3.0
closed
pmarcu
2012-09-15
2007-03-03
No

I'm getting a System.FormatException when I use the DllHarvester with a bad file path. The exception's message is: "Index (zero based) must be greater than or equal to zero and less than the size of the argument list." It looks like at /wix/src/ext/UtilExtension/wixext/DllHarvester.cs:101 the instructions read:

throw new Exception(String.Format("Unable to load file: {1}, error: {2}", file, lastError));

when it should probably be:

throw new Exception(String.Format("Unable to load file: {0}, error: {1}", file, lastError));

Thanks. This is DllHarvester is awesome!... when i input the correct path anyway ;-)

Discussion

  • Rob Mensching

    Rob Mensching - 2008-02-22

    Logged In: YES
    user_id=991639
    Originator: NO

    Should be fixed in the next build.

     
  • SourceForge Robot

    This Tracker item was closed automatically by the system. It was
    previously set to a Pending status, and the original submitter
    did not respond within 15 days (the time period specified by
    the administrator of this Tracker).

     
MongoDB Logo MongoDB