Can a Visual Studio Addin determine which version of Visual Studio it is running in?

StackOverflow https://stackoverflow.com/questions/17755043

  •  03-06-2022
  •  | 
  •  

سؤال

I am writing a Visual Studio Addin in VB.net, and I want to be able to tell which version of Visual Studio the Addin is running in. Is this possible?

Thanks

هل كانت مفيدة؟

المحلول

Yes, use DTE.Version, documentation from MSDN.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top