System Requirements:
At the target system the following products must be installed, ready to use and licensed:
- Enterprise Architect: version 7.5 or higher Ultimate / Systems Engineering / Business & Software Engineering Edition (only those editions include a valid licence for the MDG Integration Add-In).
- Sparx Systems MDG Integration for Visual Studio version 5 or higher
- Microsoft Visual Studio: version 2005, 2008, 2010, 2012 or 2013 Professional / Enterprise / Community Edition – but no Express editions!
- Microsoft Team Explorer for Visual Studio, suitable to installed version of Visual Studio.
A Microsoft Team Foundation Server (TFS) must be configured and accessable – on the target system or in the network; and fullfilling the following conditions:
- a Team Project exists
- Work Item Queries are defined in this Team Project
- at least on Solution exists within this Team Project having an EA Model attached (see Setup MDG Integration for Visual Studio)
Preparing Steps:
The “EA Project Explorer” window must be visible in Visual Studio and showing an EA Model tree.
(the following steps regard to the english version of Visual Studio 2013 Community Edition)
- Open Visual Studio.
- Open menu [File].
- Open menu item [Open].
- Select menu option [Team Project…].
- In window “Connect to Team Foundation Server” select a TFS Server, a Team Project Collection and a Team Project.
- In window “Team Explorer” select “Home” area (default area after opening a Team Project).
- In window “Team Explorer”, section “Solutions”, open that solution having the EA Model attached.
- In window “Solution Explorer” open context menu of attached EA Model (located under “Solution Items”.
- Select menu option [View in UML] – the window “EA Project Explorer” will be opened, a connection to the EA Repository established and the Model Tree will be shown.
Connect model with TFS:
- Select a package within the EA model shown in window “EA Project Explorer”.
- Open package’s context menu.
- Open menu item [Team Foundation Server].
- Select menu option [Work Item View].
- In window “EA Work Items” open the property dialog by clicking the icon [Properties].
- In window “Link Properties”:
- Enter the hostname of the TFS server into Field [Team Foundation Server Name].
- Select the Team Project in field [Team System Project].
- Confirm input using [OK].
Import Work Items into model:
- Select a package within the EA model shown in window “EA Project Explorer”.
- Open package’s context menu.
- Open menu item [Team Foundation Server].
- Select menu option [Import Work Items].
- Window “Select Queries: <Packagename>” shows the available Work Item Queries configured in the selected Team Project:
- Select one or more Work Items (Queries providing those items).
- Enable option [Link Selected Queries to Package] to remember the selected queries for the package (and to enable an easy synchronization).
- Confirm input using [OK].
Synchronize Work Items with model:
- Select a package within the EA model shown in window “EA Project Explorer”.
- Open package’s context menu.
- Open menu item [Team Foundation Server].
- Select menu option [Synchronize from TFS].