Aspnetcore: FAR VSReferenceItem Not Given FS Location

Created on 7 Jul 2020  路  7Comments  路  Source: dotnet/aspnetcore

The FAR VSReferenceItem.Location.Uri received is a vsls: prefixed URI and not file system prefixed. The other Location.Uris we get (ex. for Go To Def), are prefixed with the file system.

Expected: C:/Users/tanay/blazorserver/Pages/Counter.razor.g.cs
Actual: vsls:/Pages/Counter.razor.g.cs

This results in the document mapping provider failing and FAR not working as expected in Liveshare.

FYI: @NTaylorMullen

Done External area-razor.tooling bug feature-razor.codespaces feature-razor.languageserver feature-razor.vs

All 7 comments

This is most likely an external issue, I've reached out to LSP Platform.

Confirmed external LSP Platform issue. Likely recently introduced with LiveShare providing VSTS URIs.

Created: VSTS Issue

Issue has been routed to Liveshare.

Just tried with latest VS Master, and everything is working as expected again. No longer getting the vsls: prefix. Double checking if they've made changes to specifically address this, or if it was caught by something else.

@TanayParikh should this be closed out given its marked as done? If not, please move to 16.8-Preview2 milestone

Yes, closed out, thanks!

Was this page helpful?
0 / 5 - 0 ratings