Skip to content

Commit

Permalink
Fix ILSpy not being able to open ZIP files/VSIX that contain a bundle…
Browse files Browse the repository at this point in the history
… signature.
  • Loading branch information
siegfriedpammer committed Dec 29, 2023
1 parent 123da88 commit b5d2fd1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ICSharpCode.ILSpyX/LoadedPackage.cs
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,10 @@ public static LoadedPackage FromZipFile(string file)
view = null; // don't dispose the view, we're still using it in the bundle entries
return result;
}
catch (InvalidDataException)
{
return null;
}
finally
{
view?.Dispose();
Expand Down

0 comments on commit b5d2fd1

Please sign in to comment.