Skip to content
This repository was archived by the owner on Mar 17, 2025. It is now read-only.

Error reported in activity log #69

Open
sharwell opened this issue Jan 30, 2020 · 4 comments
Open

Error reported in activity log #69

sharwell opened this issue Jan 30, 2020 · 4 comments

Comments

@sharwell
Copy link
Member

System.AggregateException: One or more errors occurred. ---> System.ArgumentOutOfRangeException: StartIndex cannot be less than zero.
Parameter name: startIndex
   at System.String.Substring(Int32 startIndex, Int32 length)
   at ProjectFileTools.Helpers.XmlInfo.get_AttributeValue()
   at ProjectFileTools.QuickInfo.MsBuildPropertyQuickInfoSource.<GetQuickInfoItemAsync>d__4.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 Microsoft.VisualStudio.Language.Intellisense.Implementation.AsyncQuickInfoSession.<ComputeSourceContentAsync>d__39.MoveNext()
   --- End of inner exception stack trace ---
   at Microsoft.VisualStudio.Language.Intellisense.Implementation.AsyncQuickInfoSession.<UpdateAsync>d__32.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 Microsoft.VisualStudio.Language.Intellisense.Implementation.AsyncQuickInfoPresentationSession.<UpdateAsync>d__5.MoveNext()
---> (Inner Exception #0) System.ArgumentOutOfRangeException: StartIndex cannot be less than zero.
Parameter name: startIndex
   at System.String.Substring(Int32 startIndex, Int32 length)
   at ProjectFileTools.Helpers.XmlInfo.get_AttributeValue()
   at ProjectFileTools.QuickInfo.MsBuildPropertyQuickInfoSource.<GetQuickInfoItemAsync>d__4.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 Microsoft.VisualStudio.Language.Intellisense.Implementation.AsyncQuickInfoSession.<ComputeSourceContentAsync>d__39.MoveNext()<---
@drewnoakes
Copy link
Member

@sharwell are you sure this is the right repo for this? ProjectFileTools is not defined here.

@davidwengier
Copy link
Member

This needs to move to https://github.com/dotnet/ProjFileTools but I don't have permission to transfer. @KirillOsenkov I'm guessing does?

@KirillOsenkov KirillOsenkov transferred this issue from dotnet/project-system-tools Feb 3, 2020
@KirillOsenkov
Copy link
Member

@sharwell FYI no one owns this repo now, so you're encouraged to fix it yourself ;)

@sharwell
Copy link
Member Author

sharwell commented Sep 3, 2020

Just hit this again

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants