I have add-in which is developed using VS 2010. I am now re-writing the code in VS2013.
Below is the code. I am trying to find similar object in 2013. I tried to add ENVDTE dll and did not find for VS2013.
private TfsEnvironmentHelper()
{
m_dte = (EnvDTE.DTE)Microsoft.VisualStudio.Shell.ServiceProvider.GlobalProvider.GetService(typeof(SDTE));
m_dte = (EnvDTE.DTE)Microsoft.VisualStudio.Shell.ServiceProvider.GlobalProvider.GetService(typeof(EnvDTE.DTE));
m_teamFoundationServer =
(TeamFoundationServerExt)m_dte.GetObject(typeof(TeamFoundationServerExt).FullName);
m_teamFoundationServer.ProjectContextChanged += new EventHandler(teamFoundationServer_ProjectContextChanged);
}
private TeamFoundationServerExt m_teamFoundationServer;
private EnvDTE.DTE m_dte;