The name 'zipfile' does not exist in the current context

  • Hi There,

    I have SSIS project with me, I can run as it is. But, when I try to edit the script task;

    shows an error : The name 'zipfile' does not exist in the current context

    with out edit it works fine

    Error code:

    ZipFile.CreateFromDirectory(startPath, zipPath, CompressionLevel.Fastest,true);

    How I can solve it ?

  • vignesh.ms (4/21/2015)


    Hi There,

    I have SSIS project with me, I can run as it is. But, when I try to edit the script task;

    shows an error : The name 'zipfile' does not exist in the current context

    with out edit it works fine

    Error code:

    ZipFile.CreateFromDirectory(startPath, zipPath, CompressionLevel.Fastest,true);

    How I can solve it ?

    Seriously? You quote one line of code out of your script task and expect us to somehow intuit the details in the rest of the code and hence the reason for the error. I'm sure that you've Googled the error (correct?) – what did you try?

    The absence of evidence is not evidence of absence
    - Martin Rees
    The absence of consumable DDL, sample data and desired results is, however, evidence of the absence of my response
    - Phil Parkin

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply