locked
How to read GlobalSection value in .sln file. RRS feed

  • Question

  • If we add a solution file into TFS, then .sln file content will added those content:

    GlobalSection(TeamFoundationVersionControl) = preSolution
    SccNumberOfProjects = 2
    SccEnterpriseProvider = {4CA58AB2-18FA-4F8D-95D4-32DDF27D184C}
    SccTeamFoundationServer = http://ustr-r1t8s28:8080/tfs/defaultcollection
    SccLocalPath0 = .
    SccProjectUniqueName1 = System\u0020Modeler27\\System\u0020Modeler27.smproj
    SccProjectName1 = System\u0020Modeler27
    SccLocalPath1 = System\u0020Modeler27
    EndGlobalSection

    But sln also have other GlobalSection node, so do any Class/API can get the sourcecodecontrol section value  of "TeamFoundationVersionControl" in sln file directly?

    Thanks ,

    Michael

    • Edited by Michael.Yuanzhi Tuesday, July 16, 2013 9:37 AM add information !!
    Tuesday, July 16, 2013 9:30 AM

Answers

All replies