I'm trying to setup a build definition (visual studio) in Visual Studio Team Services (was Visual Studio Online), and I get the following error:
C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\DNX\Microsoft.DNX.targets(126,5): Error : The Dnx Runtime package needs to be installed. See output window for more details.
I tried adding a Command Line pre-build step
which would run dnvm upgrade
and it still didn't work. I also tried dnvm install 1.0.0-rc1-final -r clr -arch x86
without any success.
The project is just an empty web app template.
Also I should mention that I'm quite new to this toolchain and I realize that probably I'm missing a step or two. Thanks.
EDIT:
I tried the solution proposed here (dnvm upgrade) but it didn't work and it generated a bunch of errors (this is just what I could fit in a ss):
see errors here. I should add that I wasn't able to run dnu restore
because apparently it isn't recognized as a command.
Also I find it odd that this isn't working as expected since it's the most basic operation you could setup.