{"action":"opened","issue":{"url":"https://api.github.com/repos/NuGet/Home/issues/1921","labels_url":"https://api.github.com/repos/NuGet/Home/issues/1921/labels{/name}","comments_url":"https://api.github.com/repos/NuGet/Home/issues/1921/comments","events_url":"https://api.github.com/repos/NuGet/Home/issues/1921/events","html_url":"https://github.com/NuGet/Home/issues/1921","id":126115548,"number":1921,"title":"Nuget Pack throws System.Xml.XmlException: Unrecognized root element in Core Properties part. Line 2, position 2.","user":{"login":"Luzenna","id":5744237,"avatar_url":"https://avatars.githubusercontent.com/u/5744237?v=3","gravatar_id":"","url":"https://api.github.com/users/Luzenna","html_url":"https://github.com/Luzenna","followers_url":"https://api.github.com/users/Luzenna/followers","following_url":"https://api.github.com/users/Luzenna/following{/other_user}","gists_url":"https://api.github.com/users/Luzenna/gists{/gist_id}","starred_url":"https://api.github.com/users/Luzenna/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Luzenna/subscriptions","organizations_url":"https://api.github.com/users/Luzenna/orgs","repos_url":"https://api.github.com/users/Luzenna/repos","events_url":"https://api.github.com/users/Luzenna/events{/privacy}","received_events_url":"https://api.github.com/users/Luzenna/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-01-12T07:21:32Z","updated_at":"2016-01-12T07:21:32Z","closed_at":null,"body":"When using Nuget Pack with version 3.3.0 it throws the following error: System.Xml.XmlException: Unrecognized root element in Core Properties part. Line 2, position 2.\r\n\r\nThis does NOT happen when using the nuget command line version 3.2.0. \r\n\r\nHere is the full console log:\r\n\r\nnuget pack \"D:\\TFSO\\ClassLibraries\\Tfso.Core\\Core_0_5\\Tfso.Core.csproj\" -Verbosity detailed -Properties \"Configuration=Release;Platform=AnyCPU\" -OutputDirectory \"C:\\yo123\"\r\nMSBuild auto-detection: using msbuild version '14.0' from 'C:\\Program Files (x86)\\MSBuild\\14.0\\bin'. Use option -MSBuild\r\nVersion to force nuget to use a specific version of MSBuild.\r\nAttempting to build package from 'Tfso.Core.csproj'.\r\nPacking files from 'D:\\TFSO\\ClassLibraries\\Tfso.Core\\Core_0_5\\bin\\Release'.\r\nUsing 'Tfso.Core.nuspec' for metadata.\r\nAdd file 'D:\\TFSO\\ClassLibraries\\Tfso.Core\\Core_0_5\\bin\\Release\\Tfso.Core.dll' to package as 'lib\\net46\\Tfso.Core.dll'\r\nSystem.Xml.XmlException: Unrecognized root element in Core Properties part. Line 2, position 2.\r\n   at MS.Internal.IO.Packaging.PartBasedPackageProperties.ParseCorePropertyPart(PackagePart part)\r\n   at MS.Internal.IO.Packaging.PartBasedPackageProperties.ReadPropertyValuesFromPackage()\r\n   at MS.Internal.IO.Packaging.PartBasedPackageProperties..ctor(Package package)\r\n   at System.IO.Packaging.Package.get_PackageProperties()\r\n   at NuGet.OptimizedZipPackage.<>c__DisplayClassa.<EnsurePackageFiles>b__9(PackagePart part)\r\n   at System.Linq.Enumerable.WhereEnumerableIterator`1.MoveNext()\r\n   at NuGet.OptimizedZipPackage.EnsurePackageFiles()\r\n   at NuGet.OptimizedZipPackage.GetFilesBase()\r\n   at NuGet.LocalPackage.GetFiles()\r\n   at NuGet.PackageExtensions.GetFiles(IPackage package, String directory)\r\n   at NuGet.CommandLine.ProjectFactory.<>c.<AddFiles>b__92_2(IPackage a)\r\n   at System.Linq.Enumerable.<SelectManyIterator>d__16`2.MoveNext()\r\n   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)\r\n   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)\r\n   at NuGet.CommandLine.ProjectFactory.AddFiles(PackageBuilder builder, String itemType, String targetFolder)\r\n   at NuGet.CommandLine.ProjectFactory.<>c__DisplayClass56_0.<CreateBuilder>b__1(ProjectFactory p)\r\n   at NuGet.CommandLine.ProjectFactory.ApplyAction(Action`1 action)\r\n   at NuGet.CommandLine.ProjectFactory.CreateBuilder(String basePath)\r\n   at NuGet.CommandLine.PackCommand.BuildFromProjectFile(String path)\r\n   at NuGet.CommandLine.PackCommand.BuildPackage(String path)\r\n   at NuGet.CommandLine.PackCommand.ExecuteCommand()\r\n   at NuGet.CommandLine.Command.ExecuteCommandAsync()\r\n   at NuGet.CommandLine.Command.Execute()\r\n   at NuGet.CommandLine.Program.MainCore(String workingDirectory, String[] args)\r\n"}}