So sick of Microsoft.WebApplication.targets was not found build errors! 14 January 2015 Donovan-Brown Work (0) Problem: I was recently connecting an on premises build server to my Visual Studio Online account (that is crazy easy by the way) but my first build failed with the following error. The imported project "C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v11.0\WebApplications\Microsoft.WebAppli... [More]
Achieving Continuous Delivery with VSO and RMO (it is easier than you think) 14 January 2015 Donovan-Brown Work (0) Release Management Online (RMO) monitors the build definition configured to a release template. When the build is completed a release is automatically kicked off. This is a great step forward from the past where we had to use custom build templates or resort the CLI or REST API to trigger a build.&n... [More]
How to data bind a Visual Studio 2013 Coded UI Test 05 January 2015 Donovan-Brown Work (0) Problem I need to run the same Coded UI Test with different data. Solution Data bind your Coded UI Test. To data bind a test in Visual Studio you just need access to the data source and add attributes to the test. For this example we are going to use a simply CSV file. So add a new t... [More]
How to use string.Format with LINQ Select 24 December 2014 Donovan-Brown Work (0) When I project new data types using the Select operator I sometimes want to create new strings from the combination of existing properties. Naturally I turn to string.Format. However, if you attempt a call like the one below: public object Get(int id) { return this.db.Peopl... [More]
How to change your default language in Visual Studio 12 December 2014 Donovan-Brown Work (0) Problem: I want to change my default languge in Visual Studio. Solution: Select Tools / Import and Export Settings... Select Reset all settings Click Next > I suggest backing up your current settings just in case you want them back. Select the default Language setup you want to use Cl... [More]
How to set the name and pin of my JY-MCU Bluetooth adapter 30 November 2014 Donovan-Brown (0) Problem: I want to change the name and pin of my JY-MCU Bluetooth Board v1.05. Solution: Use an Arduino and send AT commands to the JY-MCU. Explanation: Open the attached sketch into the Arduino IDE and upload to your Arduino. Connect the RX pin to pin 2, TX pin to pin 3, GND to GND and V... [More]
Building Ubuntu Servers in Hyper-V 30 November 2014 Donovan-Brown Work (0) Download Ubuntu server Ubuntu Server 14.04 LTS ISO from http://www.ubuntu.com/download/server In Hyper-V Manager select New / Virtual Machine Before You Begin Click Next Specify Name and Location Name: <Stage> i.e. Dev, QA, Prod Click Next Specify Generation Select ... [More]
Never forget -Verbose again 28 November 2014 Donovan-Brown Work (0) Working with DSC I am constantly having to type –Verbose on my Start-DscConfiguration calls. However, I stumbled across this cool feature of PowerShell that I thought I would share that will set the –Verbose switch on all your calls for you. PowerShell has a collection of Preferen... [More]
PowerShell Desired State Configuration (DSC) Journey by Jacob Benson 28 November 2014 Donovan-Brown Work (0) I just wanted a list of all the post in one place. PowerShell Desired State Configuration (DSC) Journey by Jacob Benson: Day 1 (First Configuration) Day 2 (Parameterizing the Configuration) Day 3 Day 4 Day 5 Day 6 Day 7 Day 8 Day 9 Day 10 Day 11 Day 12 Day 13 Day 14 ... [More]
How to use VSO and RMO to deploy an Azure Website 21 November 2014 Donovan-Brown Work (0) This is a neat post because we are going to be using all three Azure offerings SaaS, PaaS and IaaS.& [More]