locked
ICSharpCode error RRS feed

  • Question

  • using ICSharpCode.SharpZipLib.Zip;

    i use this namespace name to compress a file but compiler shows an error....

    any ideas???????

     

    Error    1    The type or namespace name 'ICSharpCode' could not be found (are you missing a using directive or an assembly reference?)    F:\Documents and Settings\sdlab-sachin\My Documents\Visual Studio 2008\Projects\WindowsFormsApplication21\Form1.cs    9    7    WindowsFormsApplication21
    Tuesday, June 21, 2011 12:13 PM

Answers

  • Hi

    You need to add a reference to the ICSharpCode.SharpZipLib.dll assembly.  You could download the library from http://www.icsharpcode.net/OpenSource/SharpZipLib/.

    Follow the steps to add a reference in Visual Studio.

    1. In Solution Explorer, select the project.

    2. On the Project menu, choose Add Reference. The Add Reference dialog box opens.

    3. Select the tab indicating the type of component you want to reference.

    4. In the top pane, select the component you want to reference, and then click the Select button. Press CTRL while clicking to select multiple components.

    5. If the component you are looking for is not in the list, you may locate it using the Browse button.
    6. Click OK when you have selected all the components you need. Selected references will appear under the References node of the project.

    Hope this can help you


    Cookie Luo[MSFT]
    MSDN Community Support | Feedback to us
    Get or Request Code Sample from Microsoft
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

     

    This response contains a reference to a third party World Wide Web site. Microsoft is providing this information as a convenience to you. Microsoft does not control these sites and has not tested any software or information found on these sites; therefore, Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. There are inherent dangers in the use of any software found on the Internet, and Microsoft cautions you to make sure that you completely understand the risk before retrieving any software from the Internet.

    • Marked as answer by Cookie Luo Wednesday, June 29, 2011 2:01 PM
    Thursday, June 23, 2011 6:54 AM

All replies

  • Did you added the reference in the Solution Explorer? (I assume you use VS)

    Regards

    Tuesday, June 21, 2011 12:49 PM
  • Hi

    You need to add a reference to the ICSharpCode.SharpZipLib.dll assembly.  You could download the library from http://www.icsharpcode.net/OpenSource/SharpZipLib/.

    Follow the steps to add a reference in Visual Studio.

    1. In Solution Explorer, select the project.

    2. On the Project menu, choose Add Reference. The Add Reference dialog box opens.

    3. Select the tab indicating the type of component you want to reference.

    4. In the top pane, select the component you want to reference, and then click the Select button. Press CTRL while clicking to select multiple components.

    5. If the component you are looking for is not in the list, you may locate it using the Browse button.
    6. Click OK when you have selected all the components you need. Selected references will appear under the References node of the project.

    Hope this can help you


    Cookie Luo[MSFT]
    MSDN Community Support | Feedback to us
    Get or Request Code Sample from Microsoft
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

     

    This response contains a reference to a third party World Wide Web site. Microsoft is providing this information as a convenience to you. Microsoft does not control these sites and has not tested any software or information found on these sites; therefore, Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. There are inherent dangers in the use of any software found on the Internet, and Microsoft cautions you to make sure that you completely understand the risk before retrieving any software from the Internet.

    • Marked as answer by Cookie Luo Wednesday, June 29, 2011 2:01 PM
    Thursday, June 23, 2011 6:54 AM
  • Hi

    How about your problem now?


    Cookie Luo[MSFT]
    MSDN Community Support | Feedback to us
    Get or Request Code Sample from Microsoft
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    Monday, June 27, 2011 2:08 PM