Hi all,
Now I want to get TFS object in VS 2015. i tried the SVsServiceProvider to get DTE but not working.
According to a MSDN article (http://msdn.microsoft.com/en-us/library/ee834473(v=vs.110).aspx) I implemented this exactly like this:
[Import]
internal SVsServiceProvider ServiceProvider = null;
DTE dte = (DTE)ServiceProvider.GetService(typeof(DTE)); //error null
tfsSvrExt = dte.GetObject("Microsoft.VisualStudio.TeamFoundation.TeamFoundationServerExt") as TeamFoundationServerExt;
Anybody found this issue or better idea to get tfs object in vs2015? Thanks.
True mastery of any skill takes a lifetime.