Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Schema for annotations? #128

Open
StevenBonePgh opened this issue Oct 4, 2018 · 1 comment
Open

Schema for annotations? #128

StevenBonePgh opened this issue Oct 4, 2018 · 1 comment

Comments

@StevenBonePgh
Copy link

I am building annotations for an internal package. The starting point is to use the process of launching visual studio with a /ReSharper.Internal argument, assure the project is in the root folder of the solution then use the menus ReSharper | Internal | Tools | Annotator | Export Source Annotations to XML to export them. The file looks similar to those in this repository, but Resharper is throwing an exception "BuildIndexForFile" "Tag argument unexpected" with a stacktrace like below:

at JetBrains.ReSharper.Psi.Impl.Reflection2.ExternalAnnotations.XmlPsiScanner.TagScanner.ParseTag(XmlReader reader)
     at JetBrains.ReSharper.Psi.Impl.Reflection2.ExternalAnnotations.XmlPsiScanner.TagScanner.ParseTag(XmlReader reader)
     at JetBrains.ReSharper.Psi.Impl.Reflection2.ExternalAnnotations.XmlPsiScanner.Process(XmlReader reader)
     at JetBrains.ReSharper.Psi.Impl.Reflection2.ExternalAnnotations.AnnotationsIndexBuilder.BuildIndexForFile(XmlReader lexer)

I assumed this GitHub project would have a validator or schema for the annotations to assure they are parsable. I suppose I'd also assume that the internal tool would create parsable files as well. Is there a schema somewhere or a mechanism of determining exactly what the unexpected tag is?

@NN---
Copy link
Contributor

NN--- commented Feb 24, 2019

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

No branches or pull requests

2 participants