GameX Board

Uhr

Error List Window in VS2017: Jump to source-location broken?

in Forum 08.12.2017 08:44
von Shawnturner • Bezwinge.myimr Bowsers
| 148 Beiträge

Hi,

I have a custom languageservice which issues errors if syntax errors are detected
For this, I use AuthoringSink.AddError(message, path, textspan, severity)
I also tried to use a DocumentTask - same result (see below)

Errors are correctly displayed in the Error-List window. However, when I double-click an entry, it does not jump to the respective source location, but raises an ArgumentException instead. Interestingly, this is only the case for Visual Studio 2017 (2010-2015 work fine), AND if the target file is part of the current project. If I exclude the file from the project, double-clicking an error-list entry will correctly jump to the respective source location.

I checked and double-checked all parameters passed to AddError() - they are all correct. The AddError() method is simple enough, so I wonder if there is a bug in Microsoft.VisualStudio.Shell.15.0.dll?

Any ideas? Can anyone at least confirm this behavior?

Thank You!!!

I didn't find the right solution from the Internet.

References
https://social.msdn.microsoft.com/Forums...d50-bc88-418d-b

company introduction video


love travelling

nach oben scrollen



Besucher
0 Mitglieder und 1 Gast sind Online:

Wir begrüßen unser neuestes Mitglied: PeterTug
Forum Statistiken
Das Forum hat 288 Themen und 748 Beiträge.


Xobor Einfach ein eigenes Forum erstellen | ©Xobor.de