About 26,700 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. .net - What does "System.IO" mean in C#? - Stack Overflow

    Nov 11, 2012 · IO stands for Input and Output. Basically System.IO contains methods for reading and writing files as well as using Streams like you have said already.

  3. 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 …

  4. 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'. …

  5. 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 …

  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. 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 …

  8. How do you mock out the file system in C# for unit testing?

    Jul 6, 2009 · This does however cost money, and would need to be installed on your whole team's PCs and your build server in order to run, also, it apparently won't work for the System.IO.File, …

  9. 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.

  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 …