You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
VS2015 & Windows 10 environment Nuget the Prism.Unity throw Error "hexadecimal value 0x00, is an invalid character."
When nugeting, the computer power off. restart computer and reload the program. the package file show messy code. and delete the package file. try to re-nuget , the error throw.
Attempting to gather dependencies information for package 'Prism.Unity.6.1.1' with respect to project 'MonitorDemo', targeting '.NETFramework,Version=v4.6'
Attempting to resolve dependencies for package 'Prism.Unity.6.1.1' with DependencyBehavior 'Lowest'
Resolving actions to install package 'Prism.Unity.6.1.1'
Resolved actions to install package 'Prism.Unity.6.1.1'
Install failed. Rolling back...
Package 'Prism.Unity 6.1.1' does not exist in project 'MonitorDemo'
Package 'Prism.Unity 6.1.1' does not exist in folder 'E:\MonitorDemo\packages'
System.Xml.XmlException: '.', hexadecimal value 0x00, is an invalid character. Line 1, position 1.
at System.Xml.XmlTextReaderImpl.Throw(Exception e)
at System.Xml.XmlTextReaderImpl.Throw(String res, String[] args)
at System.Xml.XmlTextReaderImpl.ThrowInvalidChar(Char[] data, Int32 length, Int32 invCharPos)
at System.Xml.XmlTextReaderImpl.ParseRootLevelWhitespace()
at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
at System.Xml.XmlTextReaderImpl.Read()
at System.Xml.Linq.XDocument.Load(XmlReader reader, LoadOptions options)
at System.Xml.Linq.XDocument.Load(Stream stream, LoadOptions options)
at System.Xml.Linq.XDocument.Load(Stream stream)
at NuGet.Packaging.Core.NuspecCoreReaderBase..ctor(Stream stream)
at NuGet.Packaging.NuspecReader..ctor(Stream stream, IFrameworkNameProvider frameworkProvider)
at NuGet.Packaging.NuspecReader..ctor(Stream stream)
at NuGet.Packaging.PackageReaderBase.get_Nuspec()
at NuGet.Packaging.PackageReaderBase.get_NuspecCore()
at NuGet.Packaging.Core.PackageReaderCoreBase.GetIdentity()
at NuGet.PackageManagement.NuGetPackageManager.d__42.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at NuGet.PackageManagement.NuGetPackageManager.d__42.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at NuGet.PackageManagement.UI.UIActionEngine.d__5.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at NuGet.PackageManagement.UI.UIActionEngine.d__3.MoveNext()
From @Cuiqs76 on October 28, 2015 13:25
VS2015 & Windows 10 environment Nuget the Prism.Unity throw Error "hexadecimal value 0x00, is an invalid character."
When nugeting, the computer power off. restart computer and reload the program. the package file show messy code. and delete the package file. try to re-nuget , the error throw.
Attempting to gather dependencies information for package 'Prism.Unity.6.1.1' with respect to project 'MonitorDemo', targeting '.NETFramework,Version=v4.6'
Attempting to resolve dependencies for package 'Prism.Unity.6.1.1' with DependencyBehavior 'Lowest'
Resolving actions to install package 'Prism.Unity.6.1.1'
Resolved actions to install package 'Prism.Unity.6.1.1'
Install failed. Rolling back...
Package 'Prism.Unity 6.1.1' does not exist in project 'MonitorDemo'
Package 'Prism.Unity 6.1.1' does not exist in folder 'E:\MonitorDemo\packages'
System.Xml.XmlException: '.', hexadecimal value 0x00, is an invalid character. Line 1, position 1.
at System.Xml.XmlTextReaderImpl.Throw(Exception e)
at System.Xml.XmlTextReaderImpl.Throw(String res, String[] args)
at System.Xml.XmlTextReaderImpl.ThrowInvalidChar(Char[] data, Int32 length, Int32 invCharPos)
at System.Xml.XmlTextReaderImpl.ParseRootLevelWhitespace()
at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
at System.Xml.XmlTextReaderImpl.Read()
at System.Xml.Linq.XDocument.Load(XmlReader reader, LoadOptions options)
at System.Xml.Linq.XDocument.Load(Stream stream, LoadOptions options)
at System.Xml.Linq.XDocument.Load(Stream stream)
at NuGet.Packaging.Core.NuspecCoreReaderBase..ctor(Stream stream)
at NuGet.Packaging.NuspecReader..ctor(Stream stream, IFrameworkNameProvider frameworkProvider)
at NuGet.Packaging.NuspecReader..ctor(Stream stream)
at NuGet.Packaging.PackageReaderBase.get_Nuspec()
at NuGet.Packaging.PackageReaderBase.get_NuspecCore()
at NuGet.Packaging.Core.PackageReaderCoreBase.GetIdentity()
at NuGet.PackageManagement.NuGetPackageManager.d__42.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at NuGet.PackageManagement.NuGetPackageManager.d__42.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at NuGet.PackageManagement.UI.UIActionEngine.d__5.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at NuGet.PackageManagement.UI.UIActionEngine.d__3.MoveNext()
Copied from original issue: NuGet/NuGetGallery#2751
The text was updated successfully, but these errors were encountered: