Search code examples
asp.net-coretfsbuildazure-devopsdnx

DNX on VSO Host Build Controller


When trying to build an ASP.NET 5 DNX project on VSO, I get the following error:

Cannot find DNX runtime dnx-clr-win-x86.1.0.0-beta6 in the folder: C:\Users\buildguest.dnx\runtimes (119,5): Error : The Dnx Runtime package needs to be installed. See output window for more details.

Does this mean that we cannot use the host build controller with DNX projects yet?


Solution

  • Found a great guide on how to install dnx on vso host. https://msdn.microsoft.com/Library/vs/alm/Build/azure/deploy-aspnet5

    Added the first PreBuild.ps1 script as a Powershell build step and it worked right away.