Tags » Msbuild

Creating an ASP.NET Core 1.1 VS2017 Docker application

This blog shows how to setup a basic ASP.NET Core 1.1 application using Visual studio 2017 and Docker.

Code: https://github.com/damienbod/AspNetCoreVS2017Docker

This article from Swaminathan Vetri… 540 more words


MSBuild - Missing values for the following SqlCmd variables

Today our automated build broke with a strange error:

Missing values for the following SqlCmd variables: DW

We have a couple of references to other databases in our build specifically to deal with warnings thrown by temporary cross database references. 124 more words

SQL Server

configure MSBuild to use a saved publishProfile for deployment

this can be done from VS 11 and above only.

msbuild.exe MyProject.csproj /p:DeployOnBuild=true;PublishProfile=MyProfile

more details on MSBuild command parameters looked as follows:

/P:PublishProfileRootFolder=”%teamcity.build.checkoutDir%\Source\Web Application\My Project\PublishProfiles” (where your publish profiles are stored) 16 more words


Use Strong Name Key on TeamCity for Digital Signature

We started using strong names for some of our assemblies. Strong named assemblies are assemblies, that get digitally signed with a strong name key to ensure its uniqueness (i.e. 325 more words


Choosing What Gets Deployed When Publishing A .Net Web Application

When you use MsBuild to package up a web application for publishing, you typically rely on the publishing profile, to manage either a “build and publish” or “build a package for later deployment” process (a .zip package is created either way). 262 more words


Tidying Up: Roslyn-Powered C# Reformation with CodeFormatter

Last Updated: 9/30/2016


Time and time again, developers inherit legacy applications and criticize a former team member’s coding style. “On which planet does this coding cowboy live where this incoherent sequence of characters is deemed acceptable?!?”, you indignantly mutter to yourself. 904 more words


Azure WebRole/WorkerRole definition file per configuration

When having multiple environments in Azure for WebRoles or WorkerRoles, it might not be neccesary to have the same performance everywhere. A testing environment, for example, usually has to handle a lot less work than an acceptance or production environment. 705 more words