We are facing issue while installing octopack 3.0.45, we are getting error as "The element ‘metadata’ in namespace ‘http://schemas.microsoft.com/packaging/2012/06/nuspec.xsd’ has invalid child element ‘developmentDependency’ in namespace ‘http://schemas.microsoft.com/packaging/2012/06/nuspec.xsd’. List of possible elements expected: ‘language, copyright, frameworkAssemblies, releaseNotes, dependencies, tags, references, summary, description’ in namespace ‘http://schemas.microsoft.com/packaging/2012/06/nuspec.xsd’. ". Even I tried to search the previous version of octopack from Nuget Package Manager in VS 2012 but its finding latest version of octopack only. So can you please suggest how to resolve this issue. We are facing the same issue since one week
Thanks for getting in touch. Hopefully we can resolve this issue and get you up and running. Can you tell me what version of NuGet you’re running? I did a bit of research and I found some information indicating that the error occurs with older versions of NuGet. If you’re not running the latest version, I’d suggest upgrading as it will likely help. Also, can you tell me if this occurs with a brand new solution/project?
Rob Pearson is on vacation and I will take over this ticket for you. We recently added the developmentDependency to OctoPack to fix a compatibility issue with NuGet 3.0 in Visual Studio 2015.
You have two options from here:
Upgrade the version of the NuGet Package Manager in your installation of Visual Studio 2012 to anything > NuGet v2.8 - developmentDependency was added in NuGet 2.8
I would strongly recommend using option #1 and upgrading your NuGet Package Manager in Visual Studio since there have been many beneficial additions to OctoPack between 3.0.33 and 3.0.45.