ILSpy icon indicating copy to clipboard operation
ILSpy copied to clipboard

Can't open the .NET bundle file.

Open wwh1004 opened this issue 1 year ago • 3 comments

Steps to reproduce

  1. Open a .NET bundle
  2. Fails

Error message shown

Details

LoadedAssembly.LoadAsync doesn't catch exceptions when thrown in "result = await loader.Load(fileName, stream, settings).ConfigureAwait(false);". If open an entry in bundled file, FileNotFoundException will be thrown and breaks logic of LoadAsync.

image image

wwh1004 avatar Apr 17 '24 04:04 wwh1004

It seems that a logic to prioritize bundled entries should be added. If a file with the same name exists in the ILSpy directory, this file will be loaded first instead of loading the bundled entry.

wwh1004 avatar Apr 17 '24 04:04 wwh1004

The same issue exists for nuget packages

workgroupengineering avatar May 04 '24 07:05 workgroupengineering

If i revert pr #3191 commit id 65e30c0 work

workgroupengineering avatar May 04 '24 08:05 workgroupengineering

@siegfriedpammer My github account was suspended two weeks ago, and has been reinstated now.

wwh1004 avatar Jun 08 '24 07:06 wwh1004