Skip to content

How to debug when the CompletionService.GetService return null #74210

Answered by WeihanLi
WeihanLi asked this question in Q&A
Discussion options

You must be logged in to vote

It turned out that the dependencies were not correct, Microsoft.CodeAnalysis.Features was used in the project while in the sample it used Microsoft.CodeAnalysis.CSharp.Features,

it works when update the Microsoft.CodeAnalysis.Features reference to Microsoft.CodeAnalysis.CSharp.Features

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@WeihanLi
Comment options

@333fred
Comment options

@WeihanLi
Comment options

@WeihanLi
Comment options

Answer selected by WeihanLi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants