The League was recently contacted by @samsmithnz who wanted some more real world examples on setting up a CI/CD pipeline into IaaS, IIS and SQL. Damian (@damovisa) asked me if I would be interested in recording a video about this when he swings through Redmond next week. Sure! Piece of cake! I have plenty of examples that deploy asp.net apps that uses SQL db’s into azure PaaS and Azure SQL. I even have examples of deleting columns (that was a specific ask). Should be super easy. Just some minor tweaks to make it all work deploying to VMs.
I’ll be publishing a detailed walkthrough next week but I wanted to share an interesting problem I ran into. I used the IIS Web App Manage and IIS Web App Deploy tasks in my release pipeline:
I got this error:
What the what??? What is error code 2148734720??? Turns out, msdeploy.exe requires .net 3.5! And how do you install .net 3.5 onto a windows server 2016? Open up an Admin powershell window and type in:
dism.exe /online /enable-feature /all /featurename:NetFX3 /Source:D:\sources\sxs