geaz / sharpDox

A c# documentation tool (Discontinued)
http://sharpdox.de
MIT License
164 stars 37 forks source link

IndexOutOfRangeException when parsing .NET 4.0 components #91

Open dbforge opened 6 years ago

dbforge commented 6 years ago

Hi,

I get this exception with all projects that I tried (targeting .NET 4.0; translated from German into English) to create a documentation for:

System.IndexOutOfRangeException: Index was outside the bounds of the array.
   at SharpDox.Build.Roslyn.Parser.ProjectParser.SeeParser.ResolveAllSeeTokens()
   at SharpDox.Build.Roslyn.RoslynParser.ResolveSeeTokens(ParserOptions parserOptions)
   at SharpDox.Build.Roslyn.RoslynParser.GetParsedSolution(String solutionFile, ICoreConfigSection sharpDoxConfig, Dictionary`2 tokens, Boolean parseMethodCalls)
   at SharpDox.Build.Context.Step.StructeParseCodeStep.RunStep(SDProject sdProject)
   at `SharpDox.Build.Context.BuildContext.StartBuild()

I've noticed that this happens when it processes the .NET 4.0 components. The projects themselves seem to be completely fine. I also tried several builds linked in other/similar issues that I found here on GitHub. Unfortunately, none of them worked neither.

Best, Dominic

geaz commented 6 years ago

Hi Dominic,

will check this issue in the next few days. Just returned from vacation :)

dbforge commented 6 years ago

Hi,

alright, no problem. I know that. :D I've seen that you've asked in a further comment, if the project is open source. So, if you want to reproduce it maybe using the project, you can find it here: https://github.com/ProgTrade/nUpdate (master)

Best, Dominic

geaz commented 6 years ago

I saw that this bug was already fixed in a past commit. I will try to release a new version today which will fix your issue.

dbforge commented 6 years ago

Okay, I thought so as well, but it seems there is still a problem. :D Did you maybe override the master with commits that excluded this fix again? Anyway, thanks for your help. :)

geaz commented 6 years ago

The fixes are just in the dev branch at the moment.