繼上一篇 我們接著來連接Azure TFS
Hi Everyone ,let us continue the preceding post and let the article finish.
This session will have a introduction of how to connect the Azure TFS.
首先我們先建立一個專案!!(如果已經建立專案請往下)
選擇一個web專案內容,本範例以ASP.NET MVC為例,確認後按下"確定"。
First we create the project first ,if you have one you could move next.
Selecy a web project likes asp.net mvc then click create!!
接著選擇網際網路應用程式
Second select the internal application project.
接著我們可以看到左邊的Team Explorer面板有著目前專案的名稱屬性 (檢視>Team Explorer)
Then we can see the Team explorer perspective (View>Team Explorer)
我們選擇"專案和我的小組 > 連接到Team專案" !!
We click "Project and my team > connect to Team project " !!這時就要開始選擇Azure 伺服器囉!! 請點選伺服器 > 新增/移除 Team doundation server >加入 > 加入 team foundation server > 貼上上一篇申請的 Azure TFS URL.
Now we are going to set up the TFS. First ,click the "Server" at Select Team Foundation Server dialogue.
Second click "Add" at add/remove Team Foundation Server. Finally past your TFS url to the textbox like the below figure.

After set up the connection, now we can add the new project to the remote TFS , let's select the "setting > project and team > add team project"
接著我們在彈跳視窗中 輸入想要建立的專案名稱、描述、與流程範本
In the popup window we have to create the team project for the TFS , including the project name , description , and process templet.
Wait a moment...
微軟竟然說,你的團隊絕對會愛上他~~0.0
我們回到VS2012並開啟Team Foundation Server...便可以切換TFS伺服器 (如果有多個)
接著我們可以選擇要新增加的專案
Then we go back to the Team Foundation Server and you will see the TFS in selected.(of course you can change if you have many) In this time you can add the project to TFS.
當完成TFS設定後,在專案檔案右鍵便會出現選單,選擇將專案加入至原始控制
Finish the setting of the TFS , you can right click the project and select add the project to source control
Select ok at all
接著TFS便會將資料上傳到雲端,如此就設定好啦!!
You will see that your file had added in the Azure TFS in the end.
接著下一篇我將會補齊雲端佈署~~續
To be continue...