'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.
Solution 1:[1]
This is a very late answer, but for anyone needing to do this in 2022 there are now compatible NuGet packages for this:
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | Neil T |