About 27,600 results
Open links in new tab
  1. c# - System.IO.Packaging - Stack Overflow

    5 System.IO.Packaging is a namespace, not a reference. Most (all?) of the classes within the namespace, such as ZipPackage, are deployed in WindowsBase.dll. Make sure you have a …

  2. How to use System.IO.Compression to read/write ZIP files?

    Actually, the System.IO.Packaging -namespace contains classes for working with Open Packaging style packages. You can use it to create ZIP files (if you don't care about some extra files that will be …

  3. How to mock FileStream with System.IO.Abstraction?

    Oct 22, 2018 · I'm trying to use the System.IO.Abstraction project along with System.IO.Abstraction.TestingHelpers to mock a FileStream. This is the code that's using the file …

  4. System.IO.Abstractions: Instantiating the FileSystem

    I'm writing some unit tests using System.IO.Abstractions, and I'm following the sample code in GitHub and got stuck here: fileSystem: new FileSystem () //use default implementation which calls Syste...

  5. Cannot use System.IO.Ports in my C# .NET 8 console application

    Oct 6, 2024 · error: Package 'System.IO.Ports' is incompatible with 'all' frameworks in project 'C:\sources\esp8266\USBComPortReader6b\USBComPortReader6b\USBComPortReader6b.csproj'. …

  6. System.IO.FileNotFoundException: 'Could not load file or assembly

    Mar 2, 2023 · System.IO.FileNotFoundException: 'Could not load file or assembly Asked 2 years, 9 months ago Modified 2 years, 2 months ago Viewed 40k times

  7. c# - Could not load file or assembly 'System.IO, Version=4.0.0.0 ...

    Aug 22, 2018 · Could not load file or assembly 'System.IO, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. Reference assemblies should not …

  8. System.IO.File missing an assembly reference - Stack Overflow

    The type or namespace 'File' does not exist in the namespace 'System.IO' (are you missing an assembly reference? I'm working with .Net Framework 4.5 and VS2012.

  9. Problems using System.IO.Compression after upgrading from .Net …

    Aug 3, 2022 · The MVC project itself uses System.IO.Compression to zip some files as does one of the other projects it depends on. Since upgrading, we are seeing some strange behaviour with …

  10. How to avoid System.IO.PathTooLongException? - Stack Overflow

    Jun 25, 2013 · With this library you can programmatically browse, access, write, delete, etc files and folders that are not accessible by the System.IO namespace.Library Usage First add a reference to …