Skip to content

Use of Paket causes NuGet Pack to fail with XML exception. #474

Description

In writing a simple library that uses structuremap.automocking I could not use the "NuGet Pack" until structuremap.automocking reference was removed.

The error manifests itself as an XML exception thus:
CategoryInfo : NotSpecified: (System.Xml.XmlE... 2, position 2.:String) [], RemoteException

Initially I raised this against NuGet, but the problem seems to be inherent in the structuremap.automocking library. For a full explanation see: #NuGet/Home#2718 (comment)

To quote toddm:

The structuremap.automocking package was created by using paket.exe instead of NuGet.exe. The standard .NET zip package code is throwing the XML exception trying to read the package properties. There doesn't seem to be a NuGet bug here. It seems to be that the packages are bad.
I'd suggest you contact the package owner and suggest they pack using NuGet.exe instead

FYI: I have contacted the authors of Paket

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions