Skip to content

Investigate crash on dotnet restore in Microsoft-internal repo #12732

@rainersigwald

Description

@rainersigwald

Report of a crash using .NET SDK 10.0.100-rc.2:

> dotnet restore
D:\CxCache\.A\DotNetSDK.RGUCrN4KjzB55QtGl8GCWA\sdk\10.0.100-rc.2.25502.107\NuGet.RestoreEx.targets(19,5): error
  '{' is an unexpected token. The expected token is '"' or '''. Line 2, position 33.
     at System.Xml.XmlTextReaderImpl.Throw(Exception e)
     at System.Xml.XmlTextReaderImpl.Throw(String res, String[] args)
     at System.Xml.XmlTextReaderImpl.ParseAttributes()
     at System.Xml.XmlTextReaderImpl.ParseElement()
     at System.Xml.XmlTextReaderImpl.ParseElementContent()
     at System.Xml.XmlLoader.LoadNode(Boolean skipOverWhitespace)
     at System.Xml.XmlLoader.LoadDocSequence(XmlDocument parentDoc)
     at System.Xml.XmlDocument.Load(XmlReader reader)
     at Microsoft.Build.Shared.SolutionConfiguration.GetProjectConfigurations(String xmlString)
     at Microsoft.Build.Shared.SolutionConfiguration..ctor(String xmlString)
     at Microsoft.Build.Graph.ProjectInterpretation.GetReferences(ProjectGraphNode projectGraphNode, ProjectCollection projectCollection, ProjectInstanceFactoryFunc projec
  tInstanceFactory)+MoveNext()
     at Microsoft.Build.Graph.GraphBuilder.ParseReferences(ProjectGraphNode parsedProject)
     at Microsoft.Build.Graph.GraphBuilder.ParseProject(ConfigurationMetadata configurationMetadata)
     at System.Lazy`1.ViaFactory(LazyThreadSafetyMode mode)
     at System.Lazy`1.ExecutionAndPublication(LazyHelper executionAndPublication, Boolean useDefaultConstructor)
     at System.Lazy`1.CreateValue()
     at System.Lazy`1.get_Value()
     at Microsoft.Build.Graph.ParallelWorkSet`2.ExecuteWorkItem()

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions