Forum Xamarin Test Cloud (Read Only)

NuGet "ZIP archive contains unsupported data structures" error with Xamarin.UITest 1.3.9

With Visual Studio 2015 RC3 with Nuget Package Manager 3.5.0.1484, I am seeing problems with Xamarin.UITest 1.3.9 - "ZIP archive contains unsupported data structures."

Not with any other Nuget packages.

Any ideas?

Posts

  • mattwardmattward GBMember Xamurai

    Seems OK for me with VS 2015 Update 3 with NuGet 3.4.3.

    I would try removing the NuGet package from your local cache and see if it happens again. So delete the following directory and try again:

    %userprofile%\.nuget\packages\Xamarin.UITest\1.3.9
    
  • FrankBuckleyFrankBuckley GBUniversity ✭✭

    Thanks.

    Tried removing from cache. Only thing that works is manually editing csproj and packages.config files to downgrade to Xamarin.UITest 1.38.

    To reproduce error:

    • Install Visual Studio 2015 Update 3.
    • Update to Nuget Package Manager 3.5.0.1484
    • Create iOS UI Test app
    • Update Xamarin.UITest NuGet package from 1.3.8 to 1.3.9

    Result:

        Attempting to gather dependency information for multiple packages with respect to project 'UITest1', targeting '.NETFramework,Version=v4.5'
        Gathering dependency information took 314.75 ms
        Attempting to resolve dependencies for multiple packages.
        One or more unresolved package dependency constraints detected in the existing packages.config file. All dependency constraints must be resolved to add or update packages. If these packages are being updated this message may be ignored, if not the following error(s) may be blocking the current package operation: 'Xamarin.UITest 1.3.8'
        Resolving dependency information took 0 ms
        Resolving actions install multiple packages
        Retrieving package 'Xamarin.UITest 1.3.9' from 'nuget.org'.
        Removed package 'Xamarin.UITest 1.3.8' from 'packages.config'
        Successfully uninstalled 'Xamarin.UITest 1.3.8' from UITest1
        Adding package 'Xamarin.UITest.1.3.9' to folder 'C:\dsedev\temp\UITest1\packages'
        Added package 'Xamarin.UITest.1.3.9' to folder 'C:\dsedev\temp\UITest1\packages'
        Added package 'Xamarin.UITest.1.3.9' to 'packages.config'
        Successfully installed 'Xamarin.UITest 1.3.9' to UITest1
        Removing package 'Xamarin.UITest 1.3.8' from folder 'C:\dsedev\temp\UITest1\packages'
        Removed package 'Xamarin.UITest 1.3.8' from folder 'C:\dsedev\temp\UITest1\packages'
        Executing nuget actions took 1.27 sec
        ========== Finished ==========
        Time Elapsed: 00:00:05.1255067
        ZIP archive contains unsupported data structures.
    

    And an error is reported in the package manager - see attached.

  • mattwardmattward GBMember Xamurai

    OK I can reproduce it with NuGet 3.4.3 on updating from 1.3.8 to 1.3.9. Installing Xamarin.UITest 1.3.9 directly into a new project does not show the error since the Installed tab is not shown. As soon as you switch to the Installed tab with 1.3.9 installed that error appears. 1.3.8 seems fine.

    This suggests there is something that NuGet 3 does not like about the new Xamarin.UITest.1.3.9.nupkg file.

  • mattwardmattward GBMember Xamurai

    This has been fixed in a pre-release version: Xamarin.UITest 1.3.9.1501-dev. There should be a new stable version of Xamarin.UITest being published soon with this problem fixed.

Sign In or Register to comment.