I'm trying to publish ASP.NET 5 RC1 project to azure web site from Visual Studio Team Services with hosted build agent as it's shown here: https://msdn.microsoft.com/en-us/Library/vs/alm/Build/azure/deploy-aspnet5
However, on Build step I get error when publishing to file system:
[error]C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\Web\Microsoft.DNX.Publishing.targets(156,5): Error : The project being published does not support the runtime 'dnx-clr-win-x86.1.0.0-rc1-final'
I tried publishing to file system locally on my PC and it worked fine.
I was able to fix this issue by
ps: Tooling is a desaster for DNX right now. Especially in the Team Services.