tfs2010 - TFS SDK 10.0 Compatibility with TFS Server Versions and Lock Items without a local workspace -
tfs2010 - TFS SDK 10.0 Compatibility with TFS Server Versions and Lock Items without a local workspace -
i'm new tfs , have taken first dive tfs world lastly few days (could knowledge on tfs till now, limited reading blogs, msdn , quick read through couple of books). i've been given task extend repository browser command before done developer (the referred tfs sdk version 2010). main purpose of command list contents under given path. have few queries clarified, before jump this;
will able utilize 2010 sdk connect tfs 2010, 2012 , 2013 servers without need switch newer vesion of sdk based on server version?i have few commands implemented in command allow users to;
apply label file / folder lock / unlock files create sub-directory under folder drop files / folders know, whether have these commands executed without local workspace mapping (something similar in case of tortoisesvn repo browser 1 lock/unlock or drop file / folders without local working copy).thanks!
it depends on part of api you're calling. stuff backwards compatible without recompile. stuff need reference newer versions of tfs api binaries , stuff need re-written objects , methods have been deprecated in new versions of tfs. it's broad question really.
edit: want spend time getting know tfs api documentation: if you're concerned version command operations want become friends microsoft.teamfoundation.versioncontrol.client , microsoft.teamfoundation.versioncontrol.common come when have more specific details implimentation of code.
no, if want manipulate files source command need have workspace. in tfs 2012 , above there 2 kinds of workspace, server workspaces track changes on tfs server , must explicitly check out files modify them. local workspaces behave more svn , track changes locally. tfs 2010 supports server workspaces. in add-on tfs 2013 allows host git repository within tfs, cannot mix , match between tfsvc , git need decide 1 want when create team project. potentially utilize svn bridge wraps tfsvc can called tortoise tools, add together lot of complexity solution, easier api create workspace.edit: 1 time 1 time again api calls there, haven't done much work in space item.queryitem method in microsoft.teamfoundation.versioncontrol.server namespace place start.
tfs tfs2010 tfs2012 tfs2013 tfs-sdk
Comments
Post a Comment