目前分類:VSTS 2008 (9)

瀏覽方式: 標題列表 簡短摘要

步驗如下:

1. Team Build 2008 需更新 Service Pack 1

2. 安裝 Visual Studio 2010 在這台 Build Machine 上

3. 設定 Team Build 2008 使用 MSBuild 4.0. 將 %ProgramFiles%\Microsoft Visual Studio 9.0\Common7\IDE\PrivateAssemblies\TFSBuildService.exe.config 的 MSBuildPath 屬性 改為 C:\Windows\Microsoft.NET\Framework\v4.0.21006\.

4. 重新啟動 Team Foundation Build service 或重新開機

5. 完成

Enjoy.

anISV 發表在 痞客邦 留言(0) 人氣()

昨天有同事反應說 TFSWarehouse 的資料沒有更新

直覺反應就是到 http://localhost:8080/Warehouse/v1.0/warehousecontroller.asmx

按 Run 再按 Invoke

接著查看 GetWarehouseStatus 都是一直顯示 Idle 的情況

image

資料還是沒有更新,那照著 Troubleshooting the Data Warehouse 檢查一下

果然資料都沒有被更新,最後決定直接使用 SetupWarehouse 重建 TfsWarehouse

指令參數說明請參考 http://msdn.microsoft.com/en-us/library/ms400783(v=VS.90).aspx

重建完成後,再使用 http://localhost:8080/Warehouse/v1.0/warehousecontroller.asmx 按 Run 再按 Invoke,直到 GetWarehouseStatus 顯示 Idle 即完成整個程序

Enjoy.

anISV 發表在 痞客邦 留言(0) 人氣()

Introduction to the Microsoft Security Development Lifecycle (SDL) Introduction to Microsoft Threat Modeling Basics of Secure Design, Development, and Test Privacy for Software Development

http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=96530d20-981c-481b-b4e0-a53b0c8d952e

Enjoy.

anISV 發表在 痞客邦 留言(0) 人氣()

MSF-A+SDL is a TFS process template that incorporates the Security Development Lifecycle (SDL) for Agile process guidance into the MSF Agile development framework.

 

http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=c4b44860-cfba-494a-ba43-13c4aecf86af

 

Enjoy.

anISV 發表在 痞客邦 留言(0) 人氣()

一個團隊在共同開發專案時,我們可能會每天都使用『取得最新版本的程式碼』,來確保自己本機端的程式碼是最新的,我們也可以透過Visual Studio 的設定,讓專案開啟時,即自動取得最新版本的程式碼。

步驟:

To get the latest version automatically

1. In Visual Studio, on the Tools menu, click Options.

2. In the Options dialog box, click Source Control, then click Environment.

3. Select the Get everything when a solution or project is opened check box.

4. Click OK.

clip_image002

Enjoy.

anISV 發表在 痞客邦 留言(0) 人氣()

在軟體中,「煙霧測試」(Smoke Testing) 是指在將變更簽入至產品的原始碼之前,驗證程式碼變更的程序。在檢閱過程式碼之後,用煙霧測試來確認程式碼函式中的變更是否與預期相同,而且不會使整個組建不穩定。

 

由於煙霧測試著重於已變更的程式碼,因此,您必須與撰寫程式碼的開發人員一起合作。您必須瞭解下列事項:

  •     程式碼中的變更:若要瞭解其中的變更,您也必須瞭解所使用的技術,開發人員可以協助您瞭解這點
  •     變更對功能的影響
  •     變更對不同元件之相互依存性的影響

 

在煙霧測試之前進行程式碼檢閱

執行煙霧測試之前,請進行著重於程式碼任何變更的程式碼檢閱。程式碼檢閱是用來驗證程式碼品質,並且確保不會出現程式碼缺失以及任務錯誤的最有效方法。煙霧測試可確保由程式碼檢閱或風險評估所識別出的主要重大或具有弱點的區域,都能首先進行驗證,因為如果這項驗證失敗了,那麼測試也就無法繼續執行。

 

Web 測試和負載測試

建置 Web 測試和負載測試時,建議在執行任何長時間且負載過重的測試之前,先執行煙霧測試。在 Web 測試和負載測試中,煙霧測試屬於簡短、負載較輕的測試。在針對測試進行效能或壓力測試 (Stress Testing) 之前,請使用煙霧測試,驗證每個設定都已正確地設定,並且如預期般正常運作。

anISV 發表在 痞客邦 留言(0) 人氣()

Add-on for Visual Studio 2008 SP1 for developing Silverlight 3 applications

下載位置:

http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=9442b0f2-7465-417a-88f3-5e7b5409e9dd

anISV 發表在 痞客邦 留言(0) 人氣()

The SDL Process Template is a downloadable template that integrates the Microsoft Security Development Lifecycle (SDL) directly into your Visual Studio Team System 2008 software development environment. This version of the SDL Process Template is specific to the Microsoft Security Development Lifecycle version 4.

After installation, the SDL Process Template automatically integrates the core components of the SDL into your Visual Studio Team System environment making it easier to adopt the SDL into your new team project, providing auditable security requirements and status, and demonstrating security return on investment.

Features of the SDL Process Template include:

    • Pre-populated requirements/recommendations
    • SDL-based security check-in policies
    • Final Security Review reports
    • Customized security bugs and queries
    • Extensive related how-to and guidance documentation
    • Easy integration of third-party security tools (including the Microsoft SDL Threat Modeling Tool)

anISV 發表在 痞客邦 留言(0) 人氣()

除了提供 SQL Server 2008 資料庫專案的支援,這個版本也加入許多之前發行的 Power Tools 與幾項新的功能。新功能包括不同的建置和部署階段、靜態程式碼分析 ,以及與 SQL CLR 專案的改良式整合。
Database 版已經不再需要使用設計資料庫。因此,使用 Database 版之前,不再需要預先安裝 SQL Express 或 SQL Server 的執行個體。
SQL Server 支援

  • SQL Server 2008
    • 所有新資料型別
      • 內建 (date、datetime2、datetimeoffset、time)
      • 內建的 SQL CLR 型別 (geography、geometry、hierarchyid)
    • 新的 DML
      • 合併、資料表參數、…
  • SQL Server 組態選項
    • 伺服器選項設定會在部署之前驗證,或是在部署期間設定
      其他第一類別物件類型支援
    • 規則、預設值、非對稱金鑰、對稱金鑰、憑證、…

專案
  • SQL Server 專案
    • 伺服器物件與選項設定可能會在不同的伺服器專案中實作
    • 這可以讓小組為 SQL 伺服器定義標準的組態,並從小組的資料庫專案參考該組態
  • 部分專案
    • 允許藉由納入不同專案中的檔案,在專案之間共用程式碼,其中程式碼是從原始專案中以現況納入,且原始程式碼控制擁有權依舊屬於原始專案
    • 這可以讓程式碼重複使用並維持來源的單一性,同時擁有單一部署單元
  • 複合專案
    • 對其他資料庫專案或 .dbschema 檔案的參考,是相同部署單元的一部分
    • 這可以使用多個專案,將資料庫的開發角色、責任與組合加以區隔

外部成品的單一來源
  • SQL-CLR 參考允許使用者建立對 SQL-CLR 專案或 SQL-CLR 組件的參考。這個參考在資料庫專案中會自動變成 ASSEMBLY 型別

建置和部署
  • 建置程序現在會產生個別的可移植結構描述輸出,而這個輸出會送入可轉散發引擎中
  • 可轉散發部署引擎。例如,用於實作可以部署資料庫專案的安裝應用程式

重構
  • 用途保留
    • 可以讓使用者進行重構變更部署 (例如,將重新命名部署為重新命名,而不是部署為 drop/add 陳述式)

新重構作業
  • 萬用字元運算式
  • 移動結構描述
  • 完整限定
  • 擴充點,可以提供開發與部署自訂重構型別與目標的能力

結構描述比較
  • 現在支援比較任何組合的專案、資料庫或 dbschema 檔。例如,專案對專案的比較,這在之前是不可能的
  • 物件類型篩選
  • 其他的忽略篩選選項

T-SQL 靜態程式碼分析
  • 包括開發和部署自訂規則的能力

相依性檢視器
  • 檢視結構描述中物件之間的相依性關係

庫單元測試
  • 支援執行其他 ADO.NET 提供者

資料產生
  • 設計階段加強功能
    • 更小的 .dgen 檔
    • 支援復原/取消復原
    • 外部索引鍵取代
    • 將擴展狀態分隔成新的顯示視窗
  • 執行階段加強功能
    • 根據預設,系統會使用 SqlBulkCopy 來填入目標資料表
    • 為產生的資料註冊不同輸出的能力,例如產生至 Excel 或檔案,讓您可以使用 BCP 加以載入
    • 藉由註冊自訂輸出,就可以在資料產生期間在不同的時間點執行指令碼 (例如,在開始/完成之後,或是在資料表之前/之後)

擴充性
  • 資料產生器
  • 統計資料散佈
  • 測試條件
  • 靜態程式碼分析結果
  • 重構型別
  • 重構目標

 

下載位置:

http://www.microsoft.com/downloads/details.aspx?FamilyID=bb3ad767-5f69-4db9-b1c9-8f55759846ed&DisplayLang=zh-tw

anISV 發表在 痞客邦 留言(0) 人氣()