nuget 3.4.3 release - getting Value cannot be null on package build (original) (raw)

As of todays release our packagebuilder stopped functioning. Looks like it auto updated nuget.exe to 3.4.3 and now we get errors with building a package from a nuspec file. Below is the log:

2016-04-22 16:20:34 [INFO] : NuGet Packager 2.0.3
2016-04-22 16:20:35 [INFO] : Updating NuGet...
2016-04-22 16:20:37 [INFO] : Checking for updates from https://www.nuget.org/api/v2/.
2016-04-22 16:20:37 [INFO] : Currently running NuGet.exe 3.4.3-rtm-0855.
2016-04-22 16:20:37 [INFO] : Updating NuGet.exe to 3.4.3.
2016-04-22 16:20:37 [INFO] : Update successful.
2016-04-22 16:20:37 [INFO] : Creating package...
2016-04-22 16:20:38 [INFO] : Attempting to build package from 'Package.nuspec'.
2016-04-22 16:20:38 [ERROR] : System.ArgumentNullException: Value cannot be null.
2016-04-22 16:20:38 [ERROR] : Parameter name: folderName
2016-04-22 16:20:38 [ERROR] : at NuGet.Frameworks.NuGetFramework.Parse(String folderName, IFrameworkNameProvider mappings)
2016-04-22 16:20:38 [ERROR] : at NuGet.Packaging.ManifestReader.<>c.b__7_2(NuGet.Packaging.<>f__AnonymousType52 <>h__TransparentIdentifier0) 2016-04-22 16:20:38 [ERROR] : at System.Linq.Enumerable.WhereSelectEnumerableIterator2.MoveNext()
2016-04-22 16:20:38 [ERROR] : at System.Collections.Generic.List1..ctor(IEnumerable1 collection)
2016-04-22 16:20:38 [ERROR] : at System.Linq.Enumerable.ToList[TSource](IEnumerable1 source) 2016-04-22 16:20:38 [ERROR] : at NuGet.Packaging.ManifestReader.ReadFrameworkAssemblies(XElement frameworkElement) 2016-04-22 16:20:38 [ERROR] : at NuGet.Packaging.ManifestReader.ReadMetadataValue(ManifestMetadata manifestMetadata, XElement element, HashSet1 allElements)
2016-04-22 16:20:38 [ERROR] : at NuGet.Packaging.ManifestReader.ReadMetadata(XElement xElement)
2016-04-22 16:20:38 [ERROR] : at NuGet.Packaging.ManifestReader.ReadManifest(XDocument document)
2016-04-22 16:20:38 [ERROR] : at NuGet.Packaging.Manifest.ReadFrom(Stream stream, Func2 propertyProvider, Boolean validateSchema) 2016-04-22 16:20:38 [ERROR] : at NuGet.Packaging.PackageBuilder.ReadManifest(Stream stream, String basePath, Func2 propertyProvider)
2016-04-22 16:20:38 [ERROR] : at NuGet.Packaging.PackageBuilder..ctor(String path, String basePath, Func`2 propertyProvider, Boolean includeEmptyDirectories)
2016-04-22 16:20:38 [ERROR] : at NuGet.CommandLine.PackCommand.CreatePackageBuilderFromNuspec(String path)
2016-04-22 16:20:38 [ERROR] : at NuGet.CommandLine.PackCommand.BuildFromNuspec(String path)
2016-04-22 16:20:38 [ERROR] : at NuGet.CommandLine.PackCommand.BuildPackage(String path)
2016-04-22 16:20:38 [ERROR] : at NuGet.CommandLine.PackCommand.ExecuteCommand()
2016-04-22 16:20:38 [ERROR] : at NuGet.CommandLine.Command.ExecuteCommandAsync()
2016-04-22 16:20:38 [ERROR] : at NuGet.CommandLine.Command.Execute()
2016-04-22 16:20:38 [ERROR] : at NuGet.CommandLine.Program.MainCore(String workingDirectory, String[] args)
2016-04-22 16:20:38 [INFO] : Exit Code: 1