Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I use EnvDTE within a .NET Standard project

It's been a while since .NET Standard is introduced by Microsoft. Earlier, if I wanted to obtain information about Project, Solution and other related objects (e.g solution path, projects in a solution, etc), I used DTE2 type which is an interface inside EnvDTE80 assembly. But EnvDTE80 isn't compatible with .NET Standard. Any idea how to turn around this problem? Is there a replacement at all?

By the way, I'm currently using .NET Standard 2.0, if it matters.

like image 870
Mo Sadeghipour Avatar asked Nov 19 '22 07:11

Mo Sadeghipour


1 Answers

This is a very late answer, but for anyone needing to do this in 2022 there are now compatible NuGet packages for this:

enter image description here

like image 109
Neil T Avatar answered Dec 04 '22 01:12

Neil T