Advertisement
Guest User

Untitled

a guest
Sep 21st, 2017
142
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.70 KB | None | 0 0
  1. System.MissingMethodException: Method not found: 'System.IO.Compression.ZipArchive System.IO.Compression.ZipFile.Open(System.String, System.IO.Compression.ZipArchiveMode)'.
  2. at UnitTestProject.UnitTest1.TestMethod1()
  3.  
  4. using System.IO.Compression;
  5. using Microsoft.VisualStudio.TestTools.UnitTesting;
  6.  
  7. namespace UnitTestProject
  8. {
  9. [TestClass]
  10. public class UnitTest1
  11. {
  12. [TestMethod]
  13. public void TestMethod1()
  14. {
  15. string zipfilename = "C:\temp\out.zip";
  16. using (ZipArchive zipArchive = ZipFile.Open(zipfilename, ZipArchiveMode.Read)) { }
  17. }
  18. }
  19.  
  20. namespace StandardClassLib
  21. {
  22. public static class Zipper
  23. { // Class is empty.
  24. }
  25. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement