Getting Roslyn workspace from the add-in

Answered

Hello guys!

I'm trying to port LiveSharp Visual Studio extension to Rider.

From Visual Studio extension I can get Roslyn Workspace using the following code:

_componentModel = (IComponentModel)GetGlobalService(typeof(SComponentModel));
_workspace = _componentModel.GetService<VisualStudioWorkspace>();

Is it possible to do something similar inside the Rider add-in?

1
6 comments
Hi, Mihhail! Rider project model doesn't have Roslyn. In this case, you can use ReSharper project model instead of Roslyn. We have an internal Slack channel that allows you to get together with us and other developers to exchange ideas, and seek for help.
0

Missed the link. Please, contact Matthias to get invited.

0

Hello Alexandra,

 

Thank you for your reply. I would gladly join the Slack channel, although I think you have pasted the wrong link in the latest post. 

0

You're right, something goes wrong with forum comments. You can find the right link at the end of this article.

0

Please sign in to leave a comment.