Addin in VS2005 & VS2008 using TFS OM
hi, i've written visual studio addin uses tfs client om dlls. it adds menu item source control explorer , uses om access version control & wit. the addin references 2008 dte dlls , loads in both vs 2005 & 2008. but, if references 2005 tfs dlls (microsoft.teamfoundation.* & microsoft.visualstudio.teamfoundation.* ) can access 2005 sce, , vice versa. the command fails is: code snippet versioncontrolext vce = _applicationobject.getobject( "microsoft.visualstudio.teamfoundation.versioncontrol.versioncontrolext" ) as versioncontrolext ; is there way access both versions in single addin? is there way detect running version , load sce accordingly? thanks, shay shay, if not reference specific version (8 or 9) of dlls , not use 2008 specific functions, add-in should work vs2008. but guess of menus etc. may different in vs2008; solve problem having 2 versions of add-in (same code base,...