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

Can't handle mismatched/invalid tags as used in some official MS XML docs #7

Open
TylerAP opened this issue Nov 19, 2018 · 0 comments

Comments

@TylerAP
Copy link

TylerAP commented Nov 19, 2018

>dotnet nuget locals global-packages -l
info : global-packages: C:\Users\Tyler Young\.nuget\packages\

>.tools\inheritdoc -o -g "%userprofile%\.nuget\packages\netstandard.library\2.0.3\build\netstandard2.0\ref\netstandard.xml"
2018-11-19 10:08:20.2511|INFO|InheritDoc.Program|InheritDoc(v2.0.2.0).Run():basePath=,xmlDocFileNamePatterns=,globalSourceXmlFiles=C:\Users\Tyler Young\.nuget\packages\netstandard.library\2.0.3\build\netstandard2.0\ref\netsta
ndard.xml,excludeTypes=System.Object,overwriteExisting =True
2018-11-19 10:08:20.3517|WARN|InheritDoc.Program|Unable to parse C:\Users\Tyler Young\.nuget\packages\netstandard.library\2.0.3\build\netstandard2.0\ref\netstandard.xml due to error The 'p' start tag on line 654 position 2 do
es not match the end tag of 'th'. Line 654, position 86. (skipping)

Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object.
   at InheritDocLib.InheritDocUtil.LoadGlobalAssemblyDocuments(String globalSourceXmlFiles, Action`2 logger) in C:\Users\Kent\Documents\Visual Studio 2017\Projects\InheritDoc\InheritDocLib\InheritDocUtil.cs:line 139
   at InheritDocLib.InheritDocUtil.Run(String basePath, String xmlDocFileNamePatterns, String globalSourceXmlFiles, String excludeTypes, Boolean overwriteExisting, Action`2 logger) in C:\Users\Kent\Documents\Visual Studio 201
7\Projects\InheritDoc\InheritDocLib\InheritDocUtil.cs:line 46
   at InheritDoc.Program.<>c.<Main>b__1_1(Options options) in C:\Users\Kent\Documents\Visual Studio 2017\Projects\InheritDoc\InheritDoc\Program.cs:line 43
   at CommandLine.ParserResultExtensions.WithParsed[T](ParserResult`1 result, Action`1 action)
   at InheritDoc.Program.Main(String[] args) in C:\Users\Kent\Documents\Visual Studio 2017\Projects\InheritDoc\InheritDoc\Program.cs:line 41
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

1 participant