Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't open the .NET bundle file. #3197

Open
wwh1004 opened this issue Apr 17, 2024 · 3 comments
Open

Can't open the .NET bundle file. #3197

wwh1004 opened this issue Apr 17, 2024 · 3 comments
Labels

Comments

@wwh1004
Copy link
Contributor

wwh1004 commented Apr 17, 2024

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 wwh1004 added the Bug label Apr 17, 2024
@wwh1004
Copy link
Contributor Author

wwh1004 commented Apr 17, 2024

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.

@workgroupengineering
Copy link

The same issue exists for nuget packages

@workgroupengineering
Copy link

If i revert pr #3191 commit id 65e30c0 work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants