-4
BranchHistoryTreeItem[][] TreeItem = vcs.GetBranchHistory(new ItemSpec[] { new
ItemSpec(teamProject.ServerItem, RecursionType.Full) }, LatestVersionSpec.Latest);
有一個問題「未設置爲一個對象的實例對象引用」。但BranchHistoryTreeItem [] []宣佈TreeItem ...
VersionControlServer vcs =(VersionControlServer)tfs.GetService(typeof(VersionControlServer)); – user1536577 2012-07-20 09:23:11
爲什麼vcs是NULL? – user1536577 2012-07-20 09:23:52
@ user1536577,那仍然可以爲空 – Habib 2012-07-20 09:25:27