I'm working on a VSIX package port to Visual Studio 2017 and I need to get the running edition from the VSPackage (Enterprise, Community etc..).
Looking at the ENVDTE interface it's pretty straightforward to get the version number, but not the edition. Up to VS 2013 it was possible at least to retrieve the installed edition from the registry but it seems it's not the case anymore as VS2017 uses a its own private registry.
Does anyone have an idea on how to get the current running Visual Studio 2017 edition?
How about the readonly property _DTE.Edition?
https://learn.microsoft.com/en-us/dotnet/api/envdte._dte.edition?view=visualstudiosdk-2017