Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to Replace DTE2 in .NET Standard

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 602
Mo Sadeghipour Avatar asked Nov 18 '22 21: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 69
Neil T Avatar answered Dec 15 '22 03:12

Neil T