1

アーカイブからファイルを抽出しようとすると、「System.ArgumentOutOfRangeException」という例外が発生します。
ファイル名を含む文字列に問題があると思います。

var cpioExtractor = new SevenZipExtractor(archiveName);

ファイルへのパスを手動で入力しようとしましたが、何も変わりません。
どこに問題がありますか?

スタック トレース

System.String.InternalSubStringWithChecks(Int32 startIndex, Int32 length, Boolean fAlwaysCopy)
で System.String.Substring(Int32 startIndex)
で SevenZip.Formats.FormatByFileName(String fileName, Boolean reportErrors)
で SevenZip.FileChecker.CheckSignature(String fileName, Int32& offset, Boolean& isExecutable)
in SevenZip.SevenZipExtractor.Init(String archiveFullName)
in SevenZip.SevenZipExtractor..ctor(String archiveFullName)

4

0 に答える 0