How would i use Sevenzipsharp with this code?

后端 未结 3 861
情深已故
情深已故 2020-12-17 18:22

iv tried numerous different ways to get this to work and i got it to basicly work but i cant get the WaitForExit(); \'s to work like they do here... so how would i convert t

3条回答
  •  [愿得一人]
    2020-12-17 19:03

    You need to add a reference to SevenZipSharp.dll, not to the regular 7za.dll or the 7z.dll.

    Since you need to have 7zip dlls available, you need to package them with your code - that does not mean you need to reference them.

    You can add a solution/project folder to your application and add the required dll's there. Make sure that you set their the "Copy To Build Directory" property to "Copy if Newer".

提交回复
热议问题