Tag Archives: Visual Studio

延長 VS 2017, 2019 Community 版的試用期

感謝 Kuth 提供的網址

https://github.com/beatcracker/vscelicense

調整 Visual Studio 語言

為了安裝 SSDT 2015 August CTP(14.0.50901.0),https://msdn.microsoft.com/zh-tw/mt429383,這對應的是 SQL Server 2016 CTP 2.3

好在 TechDay Demo SSIS 透過 .NET Framework 4.6 可以存取 Always Encrypted DB,但當下只有英文版,而我的 VS 2015 裝的是中文版,因此預設無法安裝這個 SSDT

更改 VS 2015 的語言,透過 控制台 –> 程式和功能 –>  變更

image

從網站下載 Visual Studio 2015 English Language Pack 安裝

http://www.microsoft.com/en-US/download/details.aspx?id=48157

image

裝了 Language Pack 後就可以安裝了 SSDT 2015

image

可以在 Visual Studio 的選項內更改語言

image

在 VS 2015 開 SSIS 2016 CTP 2.3 的專案,可惜尚看不到什麼大變動…

image

透過 .NET Framework 4.6 提供的 SQLClient 存取 SQL Server 2016 CTP 2.3 提供的 Always Encrypted 資料

image

簡單透過 Column Encryption Setting 連接設定在 SSIS 檢視 Always Encrypted 解密後的資料

image

Visual Studio Release Management 的 Debug 方式

參考:http://blogs.msdn.com/b/visualstudioalm/archive/2013/12/13/how-to-enable-detailed-logs-and-collect-traces-from-various-release-management-components.aspx

DeploymentAgent.exe 要停掉的 Windows 服務是 Microsoft Deployment Agent,否則無法修改 .config 檔案

Team Build Error

機器上只裝了 VS 2013+TFS 2013,透過 Team Build 組建舊的微軟範例會失敗,可能是因為我用了 Release Management 的 C:\Program Files (x86)\Microsoft Visual Studio 12.0\Release Management\bin\ReleaseDefaultTemplate.11.1.xaml 發行範本,而它指定用 MSBuild 11…

C:\Builds\1\myTeamProject\FabrikamFiber.CallCenter\Sources\FabrikamFiber.CallCenter\FabrikamFiber.Web\FabrikamFiber.Web.csproj (336): 找不到匯入的專案 “C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v11.0\WebApplications\Microsoft.WebApplication.targets"。請確認 <Import> 宣告中的路徑正確,而且檔案存在於磁碟上。

image

需要將舊版安裝於以下目錄的內容:

C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v11.0

之 WebApplications 子目錄 Copy 到當下安裝的相同位置即可

參考:http://stackoverflow.com/questions/17433904/v11-0-webapplications-microsoft-webapplication-targets-was-not-found-when-file-a

VS Release Management 2013 升級到 Update 3

參照這個網頁的作法:http://msdn.microsoft.com/zh-tw/library/dn593704.aspx

移除既有的 Release Management Server 和 Client 後重新安裝 Update 3 的版本

透過 C:\Program Files (x86)\Microsoft Visual Studio 12.0\Release Management\bin\ReleaseConfigurationUI.exe 指定回原 RM 的 SQL Server 資料庫後即可:

image

手動啟動 VS2010 效能分析

在 Visual Stuido 2010 整合環境因故無法啟動 "分析"->”啟動效能精靈”,可以透過如下的方式以 Console 的方式手動錄製

http://blogs.msdn.com/b/graycode/archive/2005/05/10/aspnetoffroadprofilingarticle.aspx

碰到兩個問題:

  • 找不到 64 bit 的錄製工具,因此將 IIS AppPool 設成  32 bit
  • 文中的指令 vsperfmon /SAMPLE /OUTPUT:[your ouputfile].vsp /USER:"[ASP.NET worker process user]" /CS 要加 /CrossSession 參數,可縮寫為 CS

Visual Studio 2010 Ultimate 負載測試

先前撰寫的文件

http://cid-bf14192bd27975cb.office.live.com/view.aspx/%e8%87%aa%e8%a3%bd%e6%95%99%e6%9d%90/VS2010%e8%b2%a0%e8%bc%89%e6%b8%ac%e8%a9%a6.docx

裝了 TFS / VS 2010 SP1 對測試的一些影響

與 SP1 無關,與 IE9 的整合:

  • Coded UI Test 可以搭配,沒有什麼差異。
  • Web 效能測試也可以透過 IE9 錄製 Http,依然要停用 IE 增強式安全(IE ESC),才能錄 Ajax,但未停用 IE ESC 之前,是否可用 Web 測試錄製器 10.0 的呈現方式不同,要按 alt 鍵叫出選單

image

VS 2010 Feature Pack 2

感謝 Dann 來信告知:

VS 2010 Feature Pack 2 已於今天 (11/17) 正式提供給VS Ultimate, VS Premium or Test Professional 版之MSDN訂閱者下載,主要針對 Silverlight & Firefox App. 的Coded UI Test的支援,

Visual Studio 2010 Feature Pack 2 is released and available to MSDN subscribers.

The feature pack has the following features:

  • Use Microsoft Test Manager to capture and playback action recordings for Silverlight 4 applications.
  • Create coded UI tests for Silverlight 4 applications with Visual Studio 2010 Premium or Visual Studio 2010 Ultimate.
  • Edit coded UI tests using a graphical editor with Visual Studio 2010 Premium or Visual Studio 2010 Ultimate.   <—這讓 Coded UI Test 有圖形化編輯畫面,藉由編輯 XML(UIMap.uitest) 再產生 Code,提供 Coded UI Test  除錄製寫程式外,一個較友善的客製化界面
  • Use action recordings to fast forward through manual tests that need to support Mozilla Firefox 3.5 and 3.6.
  • Run coded UI tests for web applications using Mozilla Firefox 3.5 and 3.6 with Microsoft Visual Studio 2010 Premium or Visual Studio 2010 Ultimate.
  • Code visualization and modeling features that were part of Feature Pack 1.

For more details, see http://go.microsoft.com/fwlink/?LinkID=192777.