i am trying to build an application coded in C# and i has

using MSFileIO = Microsoft.VisualBasic.FileIO;

and giving an error "Error 1 The type or namespace name 'FileIO' does not exist in the namespace 'Microsoft.VisualBasic' (are you missing an assembly reference?) UZipDotNet

how do i add the assembly refenence, ? where can i download it from

appreciate a reply


You shouldn't have to download it; it should be included with the .NET Framework. If you are using Visual Studio:

  1. Right click on References, in Solution Explorer under the project you want the reference included in.
  2. Click Add Reference....
  3. Click the .NET tab.
  4. Select Microsoft.VisualBasic.

If you're not using VS, just Google how to do it in your IDE or with the command line. The assembly you're looking for is Microsoft.VisualBasic.dll.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.