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

 
Poster un nouveau sujet   Répondre au sujet    ps3-game Index du Forum -> ...::: Centre De Recrutement :::... -> Graphiste [ON]
Sujet précédent :: Sujet suivant  
Auteur Message
JoeClark
rang 6
rang 6

Hors ligne

Inscrit le: 01 Oct 2017
Messages: 154
Masculin
Point(s): 154
Moyenne de points: 1,00

MessagePosté le: Lun 20 Nov - 12:39 (2017)    Sujet du message: Error List Window in VS2017: Jump to source-location broken? Répondre en citant

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/vstudio/en-US/79bb5d50-bc88-418d-b…
Marketing Explainer Video


Revenir en haut
Publicité






MessagePosté le: Lun 20 Nov - 12:39 (2017)    Sujet du message: Publicité

PublicitéSupprimer les publicités ?
Revenir en haut
Montrer les messages depuis:   
Poster un nouveau sujet   Répondre au sujet    ps3-game Index du Forum -> ...::: Centre De Recrutement :::... -> Graphiste [ON] Toutes les heures sont au format GMT + 1 Heure
Page 1 sur 1

 
Sauter vers:  


Portail | Index | Creer un forum | Forum gratuit d’entraide | Annuaire des forums gratuits | Signaler une violation | Conditions générales d'utilisation
Digital Dementia © 2002 Christina Richards, phpBB 2.0.6 Version by phpBB-fr-themes
Powered by phpBB © 2001, 2018 phpBB Group
Traduction par : phpBB-fr.com