I am trying to publish a newly created asp.net 4.6 web project for Azure web applications and get the following error:
remote: D: \ Windows \ Microsoft.NET \ Framework \ v4.0.30319 \ Microsoft.CSharp.targets (316.9): error MSB4062: task "Microsoft.CodeAnalysis.BuildTasks.Csc" could not be loaded from assembly D: \ home \ site \ repository \ packages \ Microsoft.Net.Compilers.1.0.0 \ build .. \ tools \ Microsoft.Build.Tasks.CodeAnalysis.dll. Failed to load file or assembly "Microsoft.Build.Utilities.Core, Version = 14.0.0.0, Culture = neutral, PublicKeyToken = b03f5f7f11d50a3a" or one of its dependencies. The system cannot find the specified file. Confirm that the declaration is correct, that the assembly and all its dependencies are available, and that the task contains an open class that implements Microsoft.Build.Framework.ITask. [D: \ main \ site \ repository \ WebApp \ WebApp.csproj]
Everything builds fine through Visual Studio 2015 on my local computer. I thought that Azure web applications were configured to support VS 2015 RTM after the release, but it does not seem to have MSBuild 14.0 installed. Is there a job or a roadmap for this problem?
Chris source
share