???? ????? ??? ??? ?????? ??????? ??? ???? ??? ?? Visual Studio ???? Foundation Server: "???? ????? ??????? ?

?????? ????????? ?????? ?????????
???? ???????: 921319 - ??? ???????? ???? ????? ????? ??? ???????.
????? ???? | ?? ????

?? ??? ??????

???????

??? ?????? ??????? ??? ???? ??? ?? Microsoft Visual Studio 2005 ???? Server Foundation ????? ????? ????? ???????:
?? ???? ????? ???????. ??? ??? ??? ?????.

?????

???? ??? ??????? ??? ????? ???????? ?????????:
  • ????? ????? ?????? ?????? ????? ?? ?? ????? ?????? ? ??? ??.
  • ????? ??????? ?????? ?????? ??? ?????? ?????.

???? ??????

??????? ?????? ??? ??? ??????? ?? ????? ????? ???? ??????? ?? ??? ???? ????? ?????? ?? ?? ???????? ??? ???? ??? ?????. ????? ??? ???? ??? ?????? ????? ??????? ???????? ?? ?? ????? ?????? ? ??? ?? ?? ?? ???????? ??? ???? ??? ??????? ??? ????. ?????? ????? ???? ??????? ???????:
  1. Assume that you have the following work item type already imported into your project.
    <?xml version="1.0" encoding="utf-8"?>
    <wit:WITD xmlns:wit="http://schemas.microsoft.com/VisualStudio/2005/workitemtracking/typedef" version="1.0">
        <WORKITEMTYPE name="000.001">
            <FIELDS>
                <FIELD refname="D000.001" name="001" type="String">
                    <ALLOWEDVALUES for="[global]\Team Foundation Administrators">
                        <LISTITEM value="Item 1"/>
                        <LISTITEM value="Item 2"/>
                    </ALLOWEDVALUES>
                </FIELD>
            </FIELDS>
            <WORKFLOW>
                <STATES>
                    <STATE value="State 1"/>
                </STATES>
                <TRANSITIONS>
                    <TRANSITION from="" to="State 1">
                        <REASONS>
                            <DEFAULTREASON value="State *-1-1"/>
                        </REASONS>
                    </TRANSITION>
                </TRANSITIONS>
            </WORKFLOW>
            <FORM>
                <Layout/>
            </FORM>
        </WORKITEMTYPE>
    </wit:WITD>
    
  2. ????? ??? ???? ??? ?? ???? ????? ??????? ?????? ?? ?? ???? ????? ?? 1.xml. ??? XML ???? ?? ???.
    <?xml version="1.0" encoding="utf-8"?>
    <wit:WITD xmlns:wit="http://schemas.microsoft.com/VisualStudio/2005/workitemtracking/typedef" version="1.0">
        <WORKITEMTYPE name="000.001">
            <FIELDS>
                <FIELD refname="D000.001" name="001" type="String">
                </FIELD>
            </FIELDS>
            <WORKFLOW>
                <STATES>
                    <STATE value="State 1"/>
                </STATES>
                <TRANSITIONS>
                    <TRANSITION from="" to="State 1">
                        <REASONS>
                            <DEFAULTREASON value="State *-1-1"/>
                        </REASONS>
                    </TRANSITION>
                </TRANSITIONS>
            </WORKFLOW>
            <FORM>
                <Layout/>
            </FORM>
        </WORKITEMTYPE>
    </wit:WITD>
  3. ???? ??? ???? ?? ???? ??? ????? ????? cmd ?? ???? ??? ?????.
  4. ???? ????? ?????? ?? ???? ????? ??????? ENTER:
    ????? ??????? 8\Common7\IDE C:\Program Files\Microsoft Visual Studio
  5. ???? ????? ?????? ?? ???? ????? ??????? ENTER:
    witimport /f 1. xml /t Team_Foundation_Server_Name /p Project_Name
  6. ????? ??? ???? ??? ?? ???? ????? ??????? ??? ????. ????? ?? ????? ?????? ??? ??? . The XML file will resemble the following.
    <?xml version="1.0" encoding="utf-8"?>
    <wit:WITD xmlns:wit="http://schemas.microsoft.com/VisualStudio/2005/workitemtracking/typedef" version="1.0">
        <WORKITEMTYPE name="000.001">
            <FIELDS>
                <FIELD refname="D000.001" name="001" type="String">
                    <ALLOWEDVALUES for="[global]\Team Foundation Administrators" not="[global]\Team Foundation Valid Users" >
                        <LISTITEM value="Item 1"/>
                        <LISTITEM value="Item 2"/>
                    </ALLOWEDVALUES>
                </FIELD>
            </FIELDS>
            <WORKFLOW>
                <STATES>
                    <STATE value="State 1"/>
                </STATES>
                <TRANSITIONS>
                    <TRANSITION from="" to="State 1">
                        <REASONS>
                            <DEFAULTREASON value="State *-1-1"/>
                        </REASONS>
                    </TRANSITION>
                </TRANSITIONS>
            </WORKFLOW>
            <FORM>
                <Layout/>
            </FORM>
        </WORKITEMTYPE>
    </wit:WITD>
    
  7. ?? ???? ???????? ???? ????? ?????? ?? ?? ???? ????? ??????? ENTER:
    witimport /f 1. xml /t Team_Foundation_Server_Name /p Project_Name

?????

???? Microsoft ?? ??? ????? ?? ?????? Microsoft ??????? ?? ??? "????? ???".

??????? ????

????? ????? ????? ??? ???????

  1. Create an XML file that is named 1.xml and that contains the following code.
    <?xml version="1.0" encoding="utf-8"?>
    <wit:WITD xmlns:wit="http://schemas.microsoft.com/VisualStudio/2005/workitemtracking/typedef" version="1.0">
        <WORKITEMTYPE name="000.001">
            <FIELDS>
                <FIELD refname="D000.001" name="001" type="String">
                    <ALLOWEDVALUES for="[global]\Team Foundation Administrators">
                        <LISTITEM value="Item 1"/>
                        <LISTITEM value="Item 2"/>
                    </ALLOWEDVALUES>
                </FIELD>
            </FIELDS>
            <WORKFLOW>
                <STATES>
                    <STATE value="State 1"/>
                </STATES>
                <TRANSITIONS>
                    <TRANSITION from="" to="State 1">
                        <REASONS>
                            <DEFAULTREASON value="State *-1-1"/>
                        </REASONS>
                    </TRANSITION>
                </TRANSITIONS>
            </WORKFLOW>
            <FORM>
                <Layout/>
            </FORM>
        </WORKITEMTYPE>
    </wit:WITD>
    
  2. ???? ??? ???? ?? ???? ??? ????? ????? cmd ?? ???? ??? ?????.
  3. ???? ????? ?????? ?? ???? ????? ??????? ENTER:
    ????? ??????? 8\Common7\IDE C:\Program Files\Microsoft Visual Studio
  4. ???? ????? ?????? ?? ???? ????? ??????? ENTER:
    witimport /f 1. xml /t Team_Foundation_Server_Name /p Project_Name
  5. ??? ??? xml 1.. Replace the content of the file with the following code.
    <?xml version="1.0" encoding="utf-8"?>
    <wit:WITD xmlns:wit="http://schemas.microsoft.com/VisualStudio/2005/workitemtracking/typedef" version="1.0">
        <WORKITEMTYPE name="000.001">
            <FIELDS>
                <FIELD refname="D000.001" name="001" type="String">
                    <ALLOWEDVALUES for="[global]\Team Foundation Administrators" not="[global]\Team Foundation Valid Users" >
                        <LISTITEM value="Item 1"/>
                        <LISTITEM value="Item 2"/>
                    </ALLOWEDVALUES>
                </FIELD>
            </FIELDS>
            <WORKFLOW>
                <STATES>
                    <STATE value="State 1"/>
                </STATES>
                <TRANSITIONS>
                    <TRANSITION from="" to="State 1">
                        <REASONS>
                            <DEFAULTREASON value="State *-1-1"/>
                        </REASONS>
                    </TRANSITION>
                </TRANSITIONS>
            </WORKFLOW>
            <FORM>
                <Layout/>
            </FORM>
        </WORKITEMTYPE>
    </wit:WITD>
    
  6. ?? ???? ???????? ???? ????? ?????? ?? ?? ???? ????? ??????? ENTER:
    witimport /f 1. xml /t Team_Foundation_Server_Name /p Project_Name

???????

???? ???????: 921319 - ????? ??? ??????: 15/?????/1427 - ??????: 1.3
????? ???
  • Microsoft Visual Studio 2005 Team System Team Foundation:
????? ??????: 
kbmt kberrmsg kbtshoot kbinfo kbbug kbprb KB921319 KbMtar
????? ????
???: ??? ????? ??? ?????? ???????? ?????? ????? ???? ????? ?????????? ????? ?? ????????? ?????? ????. ???? ???? ?????????? ???? ?? ???????? ???????? ?????? ????????? ????? ????????? ???????? ????? ???????? ?????? ?? ?????? ??? ?? ???????? ???????? ?? ????? ??????? ?????? ??? ??????? ?????? ??. ?????? ?? ???? ??? ??????? ???????? ????? ?? ???? ????? ?????? ??? ????? ??? ????? ??????? ?? ????? ?? ?????? ??? ??? ??????? ??????? ?? ????? ????? ????? ????? ?????. ?? ????? ???? ?????????? ??????? ??? ????? ?? ??????? ?? ????? ?????? ?? ??? ????? ?? ????? ??????? ?? ???????? ?? ??? ???????. ???? ???? ?????????? ???????? ??? ????? ?????? ??????? ??????
???? ??? ????? ??????? ?????? ??????????921319

????? ???????

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com