projectkudu / kudu

Kudu is the engine behind git/hg deployments, WebJobs, and various other features in Azure Web Sites. It can also run outside of Azure.
Apache License 2.0
3.13k stars 652 forks source link

Build script problems #2533

Closed denimaaark closed 7 months ago

denimaaark commented 7 years ago

Hello,

Please how can i build manualy kudu for iis server, i have spent 2 days traying to build with build.cmd but without no success.

I have try with installed Vs 2017, Vs 2013, i have download separatly build tools full, web targets via nuget, evrything from forum you linked in documentation...

Errors wits targets, tests, versions, paths... It seems that must be magician to build kudu.

What is working well is publishing projects from visual studio, but i dont know what to copy to Kudu.Services.Web and what to wwwroot. I have try copy from projects but after git push it is missing kudu.exe and maybe somthing else.

Please how to build and publish manualy from Vs 2017

davidebbo commented 7 years ago

Can you give more details about the specific errors you are running into?

denimaaark commented 7 years ago

David, please install new instalation Visual studio comunity 2017 or lower on clean pc and please try run build.cmd.

I have difrent errors on vs 2017 and 2013.

Las errors was abaut unity teststs and after errors in artifacts folder there are not published files.

I can sand you log, but please try with clean installation on virtual machine with no development background.

Dana 31. kol 2017. 00:23 osoba "David Ebbo" notifications@github.com napisala je:

Can you give more details about the specific errors you are running into?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/projectkudu/kudu/issues/2533#issuecomment-326136070, or mute the thread https://github.com/notifications/unsubscribe-auth/AE_j-ctidiBOTvsyAIfdZay9euniyJhVks5sdeDMgaJpZM4PGZ47 .

davidebbo commented 7 years ago

I don't understand why you can't paste the specific errors that you are running into. This will go a long way to getting a sense of what's going on.

denimaaark commented 7 years ago

Hello, i have now install new clean vs 2017 comunity on clean windows 10, and run build.cmd

build log is here

CreateOutputPath:
  Creating directory "C:\Temp\kudu\artifacts\Release\symbols".
  Creating directory "C:\Temp\kudu\artifacts\Release\TestResults".
Project "C:\Temp\kudu\Build\Build.proj" (1) is building "C:\Temp\kudu\kudu.sln" (4) on node 1 (Build target(s)).
ValidateSolutionConfiguration:
  Building solution configuration "Release|Mixed Platforms".
Project "C:\Temp\kudu\kudu.sln" (4) is building "C:\Temp\kudu\Kudu.Core\Kudu.Core.csproj" (5) on node 1 (default targets).
Project file contains ToolsVersion="12.0". This toolset may be unknown or missing, in which case you may be able to resolve this by installing the appropriate version of MSBuild, or the build may have been forced to a particular ToolsVersion for policy reasons. Treating the project as if it had ToolsVersion="4.0". For more information, please see http://go.microsoft.com/fwlink/?LinkId=291333.
PrepareForBuild:
  Creating directory "bin\Release\".
  Creating directory "obj\Release\".
Project "C:\Temp\kudu\Kudu.Core\Kudu.Core.csproj" (5) is building "C:\Temp\kudu\Kudu.Contracts\Kudu.Contracts.csproj" (6) on node 1 (default targets).
Project file contains ToolsVersion="12.0". This toolset may be unknown or missing, in which case you may be able to resolve this by installing the appropriate version of MSBuild, or the build may have been forced to a particular ToolsVersion for policy reasons. Treating the project as if it had ToolsVersion="4.0". For more information, please see http://go.microsoft.com/fwlink/?LinkId=291333.
PrepareForBuild:
  Creating directory "bin\Release\".
  Creating directory "obj\Release\".
CoreResGen:
  resgen.exe /useSourcePath /r:C:\Temp\kudu\packages\Microsoft.Web.Xdt.2.1.1\lib\net40\Microsoft.Web.XmlTransform.dll /r:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.2\mscorlib.dll" /r:C:\Temp\kudu\packages\Newtonsoft.Json.9.0.1\lib\net45\Newtonsoft.Json.dll /r:C:\Temp\kudu\packages\NuGet.Protocol.Types.3.0.0-pre-20150220053306\lib\net45\NuGet.Client.BaseTypes.dll /r:C:\Temp\kudu\packages\NuGet.Protocol.V2V3.3.0.0-pre-20150220053309\lib\net45\NuGet.Client.dll /r:C:\Temp\kudu\packages\NuGet.Protocol.V2V3.3.0.0-pre-20150220053309\lib\net45\NuGet.Client.V2.dll /r:C:\Temp\kudu\packages\NuGet.Protocol.V2V3.3.0.0-pre-20150220053309\lib\net45\NuGet.Client.V2.VisualStudio.dll /r:C:\Temp\kudu\packages\NuGet.Protocol.V2V3.3.0.0-pre-20150220053309\lib\net45\NuGet.Client.V3.VisualStudio.dll /r:C:\Temp\kudu\packages\NuGet.Protocol.Types.3.0.0-pre-20150220053306\lib\net45\NuGet.Client.VisualStudio.dll /r:C:\Temp\kudu\packages\NuGet.Configuration.1.0.0-pre-20150220022717\lib\net45\NuGet.Configuration.dll /r:C:\Temp\kudu\packages\NuGet.Core.2.8.3\lib\net40-Client\NuGet.Core.dll /r:C:\Temp\kudu\packages\NuGet.Protocol.V2V3.3.0.0-pre-20150220053309\lib\net45\NuGet.Data.dll /r:C:\Temp\kudu\packages\NuGet.Packaging.1.0.0-pre-20150220044603\lib\net45\NuGet.Frameworks.dll /r:C:\Temp\kudu\packages\NuGet.Packaging.1.0.0-pre-20150220044603\lib\net45\NuGet.Packaging.dll /r:C:\Temp\kudu\packages\NuGet.Packaging.1.0.0-pre-20150220044603\lib\net45\NuGet.PackagingCore.dll /r:C:\Temp\kudu\packages\NuGet.Packaging.1.0.0-pre-20150220044603\lib\net45\NuGet.Resolver.dll /r:C:\Temp\kudu\packages\NuGet.Versioning.1.0.7\lib\portable-net40+win\NuGet.Versioning.dll /r:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.2\System.Core.dll" /r:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.2\System.dll" /r:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.2\System.IO.Compression.dll" /r:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.2\System.Net.Http.dll" /r:C:\Temp\kudu\packages\Microsoft.Net.Http.2.2.29\lib\net45\System.Net.Http.Extensions.dll /r:C:\Temp\kudu\packages\Microsoft.Net.Http.2.2.29\lib\net45\System.Net.Http.Primitives.dll /r:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.2\System.Net.Http.WebRequest.dll" /r:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.2\Facades\System.Collections.Concurrent.dll" /r:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.2\Facades\System.Collections.dll" /r:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.2\Facades\System.ComponentModel.Annotations.dll" /r:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.2\Facades\System.ComponentModel.dll" /r:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.2\Facades\System.ComponentModel.EventBasedAsync.dll" /r:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.2\Facades\System.Diagnostics.Contracts.dll" /r:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.2\Facades\System.Diagnostics.Debug.dll" /r:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.2\Facades\System.Diagnostics.Tools.dll" /r:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.2\Facades\System.Diagnostics.Tracing.dll" /r:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.2\Facades\System.Dynamic.Runtime.dll" /r:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.2\Facades\System.Globalization.dll" /r:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.2\Facades\System.IO.dll" /r:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.2\Facades\System.Linq.dll" /r:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.2\Facades\System.Linq.Expressions.dll" /r:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.2\Facades\System.Linq.Parallel.dll" /r:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.2\Facades\System.Linq.Queryable.dll" /r:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.2\Facades\System.Net.NetworkInformation.dll" /r:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.2\Facades\System.Net.Primitives.dll" /r:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.2\Facades\System.Net.Requests.dll" /r:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.2\Facades\System.ObjectModel.dll" /r:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.2\Facades\System.Reflection.dll" /r:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.2\Facades\System.Reflection.Emit.dll" /r:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.2\Facades\System.Reflection.Emit.ILGeneration.dll" /r:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.2\Facades\System.Reflection.Emit.Lightweight.dll" /r:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.2\Facades\System.Reflection.Extensions.dll" /r:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.2\Facades\System.Reflection.Primitives.dll" /r:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.2\Facades\System.Resources.ResourceManager.dll" /r:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.2\Facades\System.Runtime.dll" /r:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.2\Facades\System.Runtime.Extensions.dll" /r:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.2\Facades\System.Runtime.InteropServices.dll" /r:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.2\Facades\System.Runtime.InteropServices.WindowsRuntime.dll" /r:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.2\Facades\System.Runtime.Numerics.dll" /r:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.2\Facades\System.Runtime.Serialization.Json.dll" /r:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.2\Facades\System.Runtime.Serialization.Primitives.dll" /r:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.2\Facades\System.Runtime.Serialization.Xml.dll" /r:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.2\Facades\System.Security.Principal.dll" /r:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.2\Facades\System.ServiceModel.Duplex.dll" /r:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.2\Facades\System.ServiceModel.Http.dll" /r:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.2\Facades\System.ServiceModel.NetTcp.dll" /r:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.2\Facades\System.ServiceModel.Primitives.dll" /r:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.2\Facades\System.ServiceModel.Security.dll" /r:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.2\Facades\System.Text.Encoding.dll" /r:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.2\Facades\System.Text.Encoding.Extensions.dll" /r:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.2\Facades\System.Text.RegularExpressions.dll" /r:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.2\Facades\System.Threading.dll" /r:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.2\Facades\System.Threading.Tasks.dll" /r:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.2\Facades\System.Threading.Tasks.Parallel.dll" /r:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.2\Facades\System.Threading.Timer.dll" /r:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.2\Facades\System.Xml.ReaderWriter.dll" /r:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.2\Facades\System.Xml.XDocument.dll" /r:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.2\Facades\System.Xml.XmlSerializer.dll" /compile Resources.resx,obj\Release\Kudu.Contracts.Resources.resources
  Processing resource file "Resources.resx" into "obj\Release\Kudu.Contracts.Resources.resources".
CoreCompile:
  C:\Windows\Microsoft.NET\Framework\v4.0.30319\Csc.exe /noconfig /nowarn:1701,1702 /nostdlib+ /errorreport:prompt /warn:4 /define:TRACE;CODE_ANALYSIS /highentropyva+ /reference:C:\Temp\kudu\packages\Microsoft.Web.Xdt.2.1.1\lib\net40\Microsoft.Web.XmlTransform.dll /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.2\mscorlib.dll" /reference:C:\Temp\kudu\packages\Newtonsoft.Json.9.0.1\lib\net45\Newtonsoft.Json.dll /reference:C:\Temp\kudu\packages\NuGet.Protocol.Types.3.0.0-pre-20150220053306\lib\net45\NuGet.Client.BaseTypes.dll /reference:C:\Temp\kudu\packages\NuGet.Protocol.V2V3.3.0.0-pre-20150220053309\lib\net45\NuGet.Client.dll /reference:C:\Temp\kudu\packages\NuGet.Protocol.V2V3.3.0.0-pre-20150220053309\lib\net45\NuGet.Client.V2.dll /reference:C:\Temp\kudu\packages\NuGet.Protocol.V2V3.3.0.0-pre-20150220053309\lib\net45\NuGet.Client.V2.VisualStudio.dll /reference:C:\Temp\kudu\packages\NuGet.Protocol.V2V3.3.0.0-pre-20150220053309\lib\net45\NuGet.Client.V3.VisualStudio.dll /reference:C:\Temp\kudu\packages\NuGet.Protocol.Types.3.0.0-pre-20150220053306\lib\net45\NuGet.Client.VisualStudio.dll /reference:C:\Temp\kudu\packages\NuGet.Configuration.1.0.0-pre-20150220022717\lib\net45\NuGet.Configuration.dll /reference:nugetcore=C:\Temp\kudu\packages\NuGet.Core.2.8.3\lib\net40-Client\NuGet.Core.dll /reference:C:\Temp\kudu\packages\NuGet.Protocol.V2V3.3.0.0-pre-20150220053309\lib\net45\NuGet.Data.dll /reference:C:\Temp\kudu\packages\NuGet.Packaging.1.0.0-pre-20150220044603\lib\net45\NuGet.Frameworks.dll /reference:C:\Temp\kudu\packages\NuGet.Packaging.1.0.0-pre-20150220044603\lib\net45\NuGet.Packaging.dll /reference:C:\Temp\kudu\packages\NuGet.Packaging.1.0.0-pre-20150220044603\lib\net45\NuGet.PackagingCore.dll /reference:C:\Temp\kudu\packages\NuGet.Packaging.1.0.0-pre-20150220044603\lib\net45\NuGet.Resolver.dll /reference:C:\Temp\kudu\packages\NuGet.Versioning.1.0.7\lib\portable-net40+win\NuGet.Versioning.dll /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.2\System.Core.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.2\System.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.2\System.IO.Compression.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.2\System.Net.Http.dll" /reference:C:\Temp\kudu\packages\Microsoft.Net.Http.2.2.29\lib\net45\System.Net.Http.Extensions.dll /reference:C:\Temp\kudu\packages\Microsoft.Net.Http.2.2.29\lib\net45\System.Net.Http.Primitives.dll /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.2\System.Net.Http.WebRequest.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.2\Facades\System.Collections.Concurrent.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.2\Facades\System.Collections.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.2\Facades\System.ComponentModel.Annotations.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.2\Facades\System.ComponentModel.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.2\Facades\System.ComponentModel.EventBasedAsync.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.2\Facades\System.Diagnostics.Contracts.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.2\Facades\System.Diagnostics.Debug.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.2\Facades\System.Diagnostics.Tools.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.2\Facades\System.Diagnostics.Tracing.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.2\Facades\System.Dynamic.Runtime.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.2\Facades\System.Globalization.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.2\Facades\System.IO.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.2\Facades\System.Linq.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.2\Facades\System.Linq.Expressions.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.2\Facades\System.Linq.Parallel.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.2\Facades\System.Linq.Queryable.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.2\Facades\System.Net.NetworkInformation.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.2\Facades\System.Net.Primitives.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.2\Facades\System.Net.Requests.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.2\Facades\System.ObjectModel.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.2\Facades\System.Reflection.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.2\Facades\System.Reflection.Emit.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.2\Facades\System.Reflection.Emit.ILGeneration.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.2\Facades\System.Reflection.Emit.Lightweight.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.2\Facades\System.Reflection.Extensions.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.2\Facades\System.Reflection.Primitives.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.2\Facades\System.Resources.ResourceManager.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.2\Facades\System.Runtime.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.2\Facades\System.Runtime.Extensions.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.2\Facades\System.Runtime.InteropServices.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.2\Facades\System.Runtime.InteropServices.WindowsRuntime.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.2\Facades\System.Runtime.Numerics.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.2\Facades\System.Runtime.Serialization.Json.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.2\Facades\System.Runtime.Serialization.Primitives.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.2\Facades\System.Runtime.Serialization.Xml.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.2\Facades\System.Security.Principal.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.2\Facades\System.ServiceModel.Duplex.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.2\Facades\System.ServiceModel.Http.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.2\Facades\System.ServiceModel.NetTcp.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.2\Facades\System.ServiceModel.Primitives.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.2\Facades\System.ServiceModel.Security.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.2\Facades\System.Text.Encoding.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.2\Facades\System.Text.Encoding.Extensions.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.2\Facades\System.Text.RegularExpressions.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.2\Facades\System.Threading.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.2\Facades\System.Threading.Tasks.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.2\Facades\System.Threading.Tasks.Parallel.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.2\Facades\System.Threading.Timer.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.2\Facades\System.Xml.ReaderWriter.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.2\Facades\System.Xml.XDocument.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.2\Facades\System.Xml.XmlSerializer.dll" /debug:pdbonly /optimize+ /out:obj\Release\Kudu.Contracts.dll /subsystemversion:6.00 /resource:obj\Release\Kudu.Contracts.Resources.resources /target:library /warnaserror+ /utf8output ..\Common\CommonAssemblyInfo.cs ..\Common\Constants.cs Commands\CommandEvent.cs Commands\CommandEventType.cs Commands\CommandResult.cs Commands\ICommandExecutor.cs Deployment\DeploymentFailedException.cs Deployment\DeployResult.cs Deployment\DeployStatus.cs Deployment\IDeploymentEnvironment.cs Deployment\IDeploymentManager.cs Deployment\IDeploymentManagerFactory.cs Deployment\IDeploymentStatusManager.cs Deployment\IDeploymentStatusFile.cs Deployment\IDetailedLogger.cs Deployment\ILogger.cs Deployment\LogEntry.cs Deployment\LogEntryType.cs Diagnostics\ApplicationLogEntry.cs Diagnostics\ProcessInfo.cs Diagnostics\ProcessModuleInfo.cs Diagnostics\ProcessThreadInfo.cs Diagnostics\RuntimeInfo.cs Editor\VfsStatEntry.cs Functions\FunctionSecrets.cs Functions\FunctionEnvelope.cs Functions\FunctionSecretsJsonOps.cs Functions\FunctionTestData.cs Functions\IFunctionManager.cs Functions\IKeyJsonOps.cs Functions\MasterKey.cs Functions\MasterKeyJsonOps.cs HashHelpers.cs Hooks\ConflictException.cs Hooks\WebHook.cs Hooks\HooksEventTypes.cs Hooks\IWebHooksManager.cs IEnvironment.cs Infrastructure\INamedObject.cs Infrastructure\IOperationLock.cs Infrastructure\OperationLockInfo.cs Infrastructure\LockExtensions.cs Infrastructure\LockOperationException.cs Infrastructure\RS.cs Infrastructure\StringUtils.cs Jobs\ContinuousJob.cs Settings\DiagnosticsSettings.cs Jobs\JobSettings.cs Jobs\IContinuousJobsManager.cs Jobs\IJobsManager.cs Jobs\IScriptHost.cs Jobs\ITriggeredJobsManager.cs Jobs\JobBase.cs Jobs\JobSettingsKeys.cs Jobs\TriggeredJob.cs Jobs\TriggeredJobHistory.cs Jobs\TriggeredJobRun.cs Settings\ISettingsProvider.cs Settings\DeploymentSettingsExtension.cs Settings\IDeploymentSettingsManager.cs Settings\SettingsKeys.cs SiteExtensions\InvalidEndpointException.cs SiteExtensions\ISiteExtensionManager.cs SiteExtensions\SiteExtensionInfo.cs SourceControl\IFileFinder.cs SourceControl\IRepositoryFactory.cs SourceControl\ScmType.cs SSHKey\ISSHKeyManager.cs Tracing\ITracer.cs Properties\AssemblyInfo.cs SourceControl\ChangeSet.cs SourceControl\Git\IGitServer.cs SourceControl\IRepository.cs SourceControl\RepositoryInfo.cs SourceControl\RepositoryType.cs Resources.Designer.cs "C:\Users\Mladen\AppData\Local\Temp\.NETFramework,Version=v4.5.2.AssemblyAttributes.cs"
Functions\FunctionSecretsJsonOps.cs(23,24): error CS1056: Unexpected character '$' [C:\Temp\kudu\Kudu.Contracts\Kudu.Contracts.csproj]
Functions\FunctionSecretsJsonOps.cs(27,24): error CS1056: Unexpected character '$' [C:\Temp\kudu\Kudu.Contracts\Kudu.Contracts.csproj]
Functions\FunctionSecretsJsonOps.cs(66,39): error CS1056: Unexpected character '$' [C:\Temp\kudu\Kudu.Contracts\Kudu.Contracts.csproj]
Functions\FunctionTestData.cs(9,54): error CS1519: Invalid token '=' in class, struct, or interface member declaration [C:\Temp\kudu\Kudu.Contracts\Kudu.Contracts.csproj]
Functions\FunctionTestData.cs(9,77): error CS1519: Invalid token ';' in class, struct, or interface member declaration [C:\Temp\kudu\Kudu.Contracts\Kudu.Contracts.csproj]
Functions\MasterKeyJsonOps.cs(22,24): error CS1056: Unexpected character '$' [C:\Temp\kudu\Kudu.Contracts\Kudu.Contracts.csproj]
Functions\MasterKeyJsonOps.cs(26,24): error CS1056: Unexpected character '$' [C:\Temp\kudu\Kudu.Contracts\Kudu.Contracts.csproj]
Functions\MasterKeyJsonOps.cs(51,39): error CS1056: Unexpected character '$' [C:\Temp\kudu\Kudu.Contracts\Kudu.Contracts.csproj]
Done Building Project "C:\Temp\kudu\Kudu.Contracts\Kudu.Contracts.csproj" (default targets) -- FAILED.

Done Building Project "C:\Temp\kudu\Kudu.Core\Kudu.Core.csproj" (default targets) -- FAILED.

Project "C:\Temp\kudu\kudu.sln" (4) is building "C:\Temp\kudu\Kudu.Core.Test\Kudu.Core.Test.csproj" (7) on node 1 (default targets).
Project file contains ToolsVersion="12.0". This toolset may be unknown or missing, in which case you may be able to resolve this by installing the appropriate version of MSBuild, or the build may have been forced to a particular ToolsVersion for policy reasons. Treating the project as if it had ToolsVersion="4.0". For more information, please see http://go.microsoft.com/fwlink/?LinkId=291333.
PrepareForBuild:
  Creating directory "bin\Release\".
  Creating directory "obj\Release\".
Project "C:\Temp\kudu\Kudu.Core.Test\Kudu.Core.Test.csproj" (7) is building "C:\Temp\kudu\Kudu.Services\Kudu.Services.csproj" (8) on node 1 (default targets).
Project file contains ToolsVersion="12.0". This toolset may be unknown or missing, in which case you may be able to resolve this by installing the appropriate version of MSBuild, or the build may have been forced to a particular ToolsVersion for policy reasons. Treating the project as if it had ToolsVersion="4.0". For more information, please see http://go.microsoft.com/fwlink/?LinkId=291333.
PrepareForBuild:
  Creating directory "bin\Release\".
  Creating directory "obj\Release\".
  Creating directory "bin\Debug\".
Done Building Project "C:\Temp\kudu\Kudu.Services\Kudu.Services.csproj" (default targets) -- FAILED.

Project "C:\Temp\kudu\Kudu.Core.Test\Kudu.Core.Test.csproj" (7) is building "C:\Temp\kudu\Kudu.Services.Web\Kudu.Services.Web.csproj" (9) on node 1 (default targets).
C:\Temp\kudu\Kudu.Services.Web\Kudu.Services.Web.csproj(267,3): error MSB4019: The imported project "C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v11.0\WebApplications\Microsoft.WebApplication.targets" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.
Done Building Project "C:\Temp\kudu\Kudu.Services.Web\Kudu.Services.Web.csproj" (default targets) -- FAILED.

Project "C:\Temp\kudu\Kudu.Core.Test\Kudu.Core.Test.csproj" (7) is building "C:\Temp\kudu\Kudu.TestHarness\Kudu.TestHarness.csproj" (10) on node 1 (default targets).
Project file contains ToolsVersion="12.0". This toolset may be unknown or missing, in which case you may be able to resolve this by installing the appropriate version of MSBuild, or the build may have been forced to a particular ToolsVersion for policy reasons. Treating the project as if it had ToolsVersion="4.0". For more information, please see http://go.microsoft.com/fwlink/?LinkId=291333.
PrepareForBuild:
  Creating directory "bin\Release\".
  Creating directory "obj\Release\".
Project "C:\Temp\kudu\Kudu.TestHarness\Kudu.TestHarness.csproj" (10) is building "C:\Temp\kudu\Kudu.Client\Kudu.Client.csproj" (11) on node 1 (default targets).
Project file contains ToolsVersion="12.0". This toolset may be unknown or missing, in which case you may be able to resolve this by installing the appropriate version of MSBuild, or the build may have been forced to a particular ToolsVersion for policy reasons. Treating the project as if it had ToolsVersion="4.0". For more information, please see http://go.microsoft.com/fwlink/?LinkId=291333.
PrepareForBuild:
  Creating directory "bin\Release\".
  Creating directory "obj\Release\".
Done Building Project "C:\Temp\kudu\Kudu.Client\Kudu.Client.csproj" (default targets) -- FAILED.

Project "C:\Temp\kudu\Kudu.TestHarness\Kudu.TestHarness.csproj" (10) is building "C:\Temp\kudu\Kudu.SiteManagement\Kudu.SiteManagement.csproj" (12) on node 1 (default targets).
Project file contains ToolsVersion="12.0". This toolset may be unknown or missing, in which case you may be able to resolve this by installing the appropriate version of MSBuild, or the build may have been forced to a particular ToolsVersion for policy reasons. Treating the project as if it had ToolsVersion="4.0". For more information, please see http://go.microsoft.com/fwlink/?LinkId=291333.
PrepareForBuild:
  Creating directory "bin\Release\".
  Creating directory "obj\Release\".
Done Building Project "C:\Temp\kudu\Kudu.SiteManagement\Kudu.SiteManagement.csproj" (default targets) -- FAILED.

Done Building Project "C:\Temp\kudu\Kudu.TestHarness\Kudu.TestHarness.csproj" (default targets) -- FAILED.

Done Building Project "C:\Temp\kudu\Kudu.Core.Test\Kudu.Core.Test.csproj" (default targets) -- FAILED.

Project "C:\Temp\kudu\kudu.sln" (4) is building "C:\Temp\kudu\Kudu.FunctionalTests\Kudu.FunctionalTests.csproj" (13) on node 1 (default targets).
Project file contains ToolsVersion="12.0". This toolset may be unknown or missing, in which case you may be able to resolve this by installing the appropriate version of MSBuild, or the build may have been forced to a particular ToolsVersion for policy reasons. Treating the project as if it had ToolsVersion="4.0". For more information, please see http://go.microsoft.com/fwlink/?LinkId=291333.
PrepareForBuild:
  Creating directory "bin\Release\".
  Creating directory "obj\Release\".
Done Building Project "C:\Temp\kudu\Kudu.FunctionalTests\Kudu.FunctionalTests.csproj" (default targets) -- FAILED.

Project "C:\Temp\kudu\kudu.sln" (4) is building "C:\Temp\kudu\Kudu.Performance\Kudu.Performance.csproj" (14) on node 1 (default targets).
Project file contains ToolsVersion="12.0". This toolset may be unknown or missing, in which case you may be able to resolve this by installing the appropriate version of MSBuild, or the build may have been forced to a particular ToolsVersion for policy reasons. Treating the project as if it had ToolsVersion="4.0". For more information, please see http://go.microsoft.com/fwlink/?LinkId=291333.
PrepareForBuild:
  Creating directory "bin\Release\".
  Creating directory "obj\x86\Release\".
Done Building Project "C:\Temp\kudu\Kudu.Performance\Kudu.Performance.csproj" (default targets) -- FAILED.

Project "C:\Temp\kudu\kudu.sln" (4) is building "C:\Temp\kudu\Kudu.Console\Kudu.Console.csproj" (15) on node 1 (default targets).
Project file contains ToolsVersion="12.0". This toolset may be unknown or missing, in which case you may be able to resolve this by installing the appropriate version of MSBuild, or the build may have been forced to a particular ToolsVersion for policy reasons. Treating the project as if it had ToolsVersion="4.0". For more information, please see http://go.microsoft.com/fwlink/?LinkId=291333.
PrepareForBuild:
  Creating directory "bin\Release\".
  Creating directory "obj\x86\Release\".
Done Building Project "C:\Temp\kudu\Kudu.Console\Kudu.Console.csproj" (default targets) -- FAILED.

Project "C:\Temp\kudu\kudu.sln" (4) is building "C:\Temp\kudu\Kudu.Services.Test\Kudu.Services.Test.csproj" (16) on node 1 (default targets).
Project file contains ToolsVersion="12.0". This toolset may be unknown or missing, in which case you may be able to resolve this by installing the appropriate version of MSBuild, or the build may have been forced to a particular ToolsVersion for policy reasons. Treating the project as if it had ToolsVersion="4.0". For more information, please see http://go.microsoft.com/fwlink/?LinkId=291333.
PrepareForBuild:
  Creating directory "bin\Release\".
  Creating directory "obj\Release\".
Done Building Project "C:\Temp\kudu\Kudu.Services.Test\Kudu.Services.Test.csproj" (default targets) -- FAILED.

Project "C:\Temp\kudu\kudu.sln" (4) is building "C:\Temp\kudu\Kudu.Stress\Kudu.Stress.csproj" (17) on node 1 (default targets).
Project file contains ToolsVersion="12.0". This toolset may be unknown or missing, in which case you may be able to resolve this by installing the appropriate version of MSBuild, or the build may have been forced to a particular ToolsVersion for policy reasons. Treating the project as if it had ToolsVersion="4.0". For more information, please see http://go.microsoft.com/fwlink/?LinkId=291333.
PrepareForBuild:
  Creating directory "bin\Release\".
  Creating directory "obj\Release\".
Done Building Project "C:\Temp\kudu\Kudu.Stress\Kudu.Stress.csproj" (default targets) -- FAILED.

Project "C:\Temp\kudu\kudu.sln" (4) is building "C:\Temp\kudu\Kudu.SiteManagement.Test\Kudu.SiteManagement.Test.csproj" (18) on node 1 (default targets).
Project file contains ToolsVersion="12.0". This toolset may be unknown or missing, in which case you may be able to resolve this by installing the appropriate version of MSBuild, or the build may have been forced to a particular ToolsVersion for policy reasons. Treating the project as if it had ToolsVersion="4.0". For more information, please see http://go.microsoft.com/fwlink/?LinkId=291333.
PrepareForBuild:
  Creating directory "bin\Release\".
  Creating directory "obj\Release\".
Done Building Project "C:\Temp\kudu\Kudu.SiteManagement.Test\Kudu.SiteManagement.Test.csproj" (default targets) -- FAILED.

Done Building Project "C:\Temp\kudu\kudu.sln" (Build target(s)) -- FAILED.

Done Building Project "C:\Temp\kudu\Build\Build.proj" (default targets) -- FAILED.

Build FAILED.

"C:\Temp\kudu\Build\Build.proj" (default target) (1) ->
"C:\Temp\kudu\kudu.sln" (Build target) (4) ->
"C:\Temp\kudu\Kudu.Core\Kudu.Core.csproj" (default target) (5) ->
"C:\Temp\kudu\Kudu.Contracts\Kudu.Contracts.csproj" (default target) (6) ->
(CoreCompile target) -> 
  Functions\FunctionSecretsJsonOps.cs(23,24): error CS1056: Unexpected character '$' [C:\Temp\kudu\Kudu.Contracts\Kudu.Contracts.csproj]
  Functions\FunctionSecretsJsonOps.cs(27,24): error CS1056: Unexpected character '$' [C:\Temp\kudu\Kudu.Contracts\Kudu.Contracts.csproj]
  Functions\FunctionSecretsJsonOps.cs(66,39): error CS1056: Unexpected character '$' [C:\Temp\kudu\Kudu.Contracts\Kudu.Contracts.csproj]
  Functions\FunctionTestData.cs(9,54): error CS1519: Invalid token '=' in class, struct, or interface member declaration [C:\Temp\kudu\Kudu.Contracts\Kudu.Contracts.csproj]
  Functions\FunctionTestData.cs(9,77): error CS1519: Invalid token ';' in class, struct, or interface member declaration [C:\Temp\kudu\Kudu.Contracts\Kudu.Contracts.csproj]
  Functions\MasterKeyJsonOps.cs(22,24): error CS1056: Unexpected character '$' [C:\Temp\kudu\Kudu.Contracts\Kudu.Contracts.csproj]
  Functions\MasterKeyJsonOps.cs(26,24): error CS1056: Unexpected character '$' [C:\Temp\kudu\Kudu.Contracts\Kudu.Contracts.csproj]
  Functions\MasterKeyJsonOps.cs(51,39): error CS1056: Unexpected character '$' [C:\Temp\kudu\Kudu.Contracts\Kudu.Contracts.csproj]

"C:\Temp\kudu\Build\Build.proj" (default target) (1) ->
"C:\Temp\kudu\kudu.sln" (Build target) (4) ->
"C:\Temp\kudu\Kudu.Core.Test\Kudu.Core.Test.csproj" (default target) (7) ->
"C:\Temp\kudu\Kudu.Services.Web\Kudu.Services.Web.csproj" (default target) (9) ->
  C:\Temp\kudu\Kudu.Services.Web\Kudu.Services.Web.csproj(267,3): error MSB4019: The imported project "C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v11.0\WebApplications\Microsoft.WebApplication.targets" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.

    0 Warning(s)
    9 Error(s)

Time Elapsed 00:01:49.73
davidebbo commented 7 years ago

This looks the same as discussed in #2542. Please read through that discussion.

/cc @watashiSHUN

watashiSHUN commented 7 years ago

https://github.com/projectkudu/kudu/blob/afa47eb71d5ac7b72a6c4c27cc7b222b4ff03479/build.cmd#L10-L25 VS2017 community is not in our discovery path you need to add it to the build.cmd the following is an example, make sure that it matches with your installation location

if exist "%PROGRAMFILES%\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin\MSBuild.exe" ( 
     set MsBuildExe="%PROGRAMFILES%\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin\MSBuild.exe" 
)
denimaaark commented 7 years ago

Thank You for answer, but i have alredy try this before. There is new log with added this lines:

Build started 01.09.2017 19:55:19. Project "C:\Temp\kudu\Build\Build.proj" on node 1 (default targets). RestorePackages: "C:\Temp\kudu\Build\nuget.exe" restore -source "https://nuget.org/api/v2/" "C:\Temp\kudu\Build..\Kudu.sln" MSBuild auto-detection: using msbuild version '15.3.409.57025' from 'C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\bin'. All packages listed in packages.config are already installed. Project "C:\Temp\kudu\Build\Build.proj" (1) is building "C:\Temp\kudu\kudu.sln" (4) on node 1 (Build target(s)). ValidateSolutionConfiguration: Building solution configuration "Release|Mixed Platforms". Project "C:\Temp\kudu\kudu.sln" (4) is building "C:\Temp\kudu\Kudu.Core\Kudu.Core.csproj" (5) on node 1 (default targets). Project file contains ToolsVersion="12.0". This toolset may be unknown or missing, in which case you may be able to resolve this by installing the appropriate version of MSBuild, or the build may have been forced to a particular ToolsVersion for policy reasons. Treating the project as if it had ToolsVersion="4.0". For more information, please see http://go.microsoft.com/fwlink/?LinkId=291333. Project "C:\Temp\kudu\Kudu.Core\Kudu.Core.csproj" (5) is building "C:\Temp\kudu\Kudu.Contracts\Kudu.Contracts.csproj" (6) on node 1 (default targets). Project file contains ToolsVersion="12.0". This toolset may be unknown or missing, in which case you may be able to resolve this by installing the appropriate version of MSBuild, or the build may have been forced to a particular ToolsVersion for policy reasons. Treating the project as if it had ToolsVersion="4.0". For more information, please see http://go.microsoft.com/fwlink/?LinkId=291333. BclBuildEnsureBindingRedirects: Skipping target "BclBuildEnsureBindingRedirects" because all output files are up-to-date with respect to the input files. CoreResGen: No resources are out of date with respect to their source files. Skipping resource generation. GenerateTargetFrameworkMonikerAttribute: Skipping target "GenerateTargetFrameworkMonikerAttribute" because all output files are up-to-date with respect to the input files. CoreCompile: C:\Windows\Microsoft.NET\Framework\v4.0.30319\Csc.exe /noconfig /nowarn:1701,1702 /nostdlib+ /errorreport:prompt /warn:4 /define:TRACE;CODE_ANALYSIS /highentropyva+ /reference:C:\Temp\kudu\packages\Microsoft.Web.Xdt.2.1.1\lib\net40\Microsoft.Web.XmlTransform.dll /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.5.2\mscorlib.dll" /reference:C:\Temp\kudu\packages\Newtonsoft.Json.9.0.1\lib\net45\Newtonsoft.Json.dll /reference:C:\Temp\kudu\packages\NuGet.Protocol.Types.3.0.0-pre-20150220053306\lib\net45\NuGet.Client.BaseTypes.dll /reference:C:\Temp\kudu\packages\NuGet.Protocol.V2V3.3.0.0-pre-20150220053309\lib\net45\NuGet.Client.dll /reference:C:\Temp\kudu\packages\NuGet.Protocol.V2V3.3.0.0-pre-20150220053309\lib\net45\NuGet.Client.V2.dll /reference:C:\Temp\kudu\packages\NuGet.Protocol.V2V3.3.0.0-pre-20150220053309\lib\net45\NuGet.Client.V2.VisualStudio.dll /reference:C:\Temp\kudu\packages\NuGet.Protocol.V2V3.3.0.0-pre-20150220053309\lib\net45\NuGet.Client.V3.VisualStudio.dll /reference:C:\Temp\kudu\packages\NuGet.Protocol.Types.3.0.0-pre-20150220053306\lib\net45\NuGet.Client.VisualStudio.dll /reference:C:\Temp\kudu\packages\NuGet.Configuration.1.0.0-pre-20150220022717\lib\net45\NuGet.Configuration.dll /reference:nugetcore=C:\Temp\kudu\packages\NuGet.Core.2.8.3\lib\net40-Client\NuGet.Core.dll /reference:C:\Temp\kudu\packages\NuGet.Protocol.V2V3.3.0.0-pre-20150220053309\lib\net45\NuGet.Data.dll /reference:C:\Temp\kudu\packages\NuGet.Packaging.1.0.0-pre-20150220044603\lib\net45\NuGet.Frameworks.dll /reference:C:\Temp\kudu\packages\NuGet.Packaging.1.0.0-pre-20150220044603\lib\net45\NuGet.Packaging.dll /reference:C:\Temp\kudu\packages\NuGet.Packaging.1.0.0-pre-20150220044603\lib\net45\NuGet.PackagingCore.dll /reference:C:\Temp\kudu\packages\NuGet.Packaging.1.0.0-pre-20150220044603\lib\net45\NuGet.Resolver.dll /reference:C:\Temp\kudu\packages\NuGet.Versioning.1.0.7\lib\portable-net40+win\NuGet.Versioning.dll /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.5.2\System.Core.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.5.2\System.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.5.2\System.IO.Compression.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.5.2\System.Net.Http.dll" /reference:C:\Temp\kudu\packages\Microsoft.Net.Http.2.2.29\lib\net45\System.Net.Http.Extensions.dll /reference:C:\Temp\kudu\packages\Microsoft.Net.Http.2.2.29\lib\net45\System.Net.Http.Primitives.dll /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.5.2\System.Net.Http.WebRequest.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.5.2\Facades\System.Collections.Concurrent.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.5.2\Facades\System.Collections.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.5.2\Facades\System.ComponentModel.Annotations.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.5.2\Facades\System.ComponentModel.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.5.2\Facades\System.ComponentModel.EventBasedAsync.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.5.2\Facades\System.Diagnostics.Contracts.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.5.2\Facades\System.Diagnostics.Debug.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.5.2\Facades\System.Diagnostics.Tools.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.5.2\Facades\System.Diagnostics.Tracing.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.5.2\Facades\System.Dynamic.Runtime.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.5.2\Facades\System.Globalization.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.5.2\Facades\System.IO.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.5.2\Facades\System.Linq.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.5.2\Facades\System.Linq.Expressions.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.5.2\Facades\System.Linq.Parallel.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.5.2\Facades\System.Linq.Queryable.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.5.2\Facades\System.Net.NetworkInformation.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.5.2\Facades\System.Net.Primitives.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.5.2\Facades\System.Net.Requests.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.5.2\Facades\System.ObjectModel.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.5.2\Facades\System.Reflection.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.5.2\Facades\System.Reflection.Emit.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.5.2\Facades\System.Reflection.Emit.ILGeneration.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.5.2\Facades\System.Reflection.Emit.Lightweight.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.5.2\Facades\System.Reflection.Extensions.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.5.2\Facades\System.Reflection.Primitives.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.5.2\Facades\System.Resources.ResourceManager.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.5.2\Facades\System.Runtime.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.5.2\Facades\System.Runtime.Extensions.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.5.2\Facades\System.Runtime.InteropServices.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.5.2\Facades\System.Runtime.InteropServices.WindowsRuntime.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.5.2\Facades\System.Runtime.Numerics.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.5.2\Facades\System.Runtime.Serialization.Json.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.5.2\Facades\System.Runtime.Serialization.Primitives.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.5.2\Facades\System.Runtime.Serialization.Xml.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.5.2\Facades\System.Security.Principal.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.5.2\Facades\System.ServiceModel.Duplex.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.5.2\Facades\System.ServiceModel.Http.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.5.2\Facades\System.ServiceModel.NetTcp.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.5.2\Facades\System.ServiceModel.Primitives.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.5.2\Facades\System.ServiceModel.Security.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.5.2\Facades\System.Text.Encoding.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.5.2\Facades\System.Text.Encoding.Extensions.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.5.2\Facades\System.Text.RegularExpressions.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.5.2\Facades\System.Threading.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.5.2\Facades\System.Threading.Tasks.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.5.2\Facades\System.Threading.Tasks.Parallel.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.5.2\Facades\System.Threading.Timer.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.5.2\Facades\System.Xml.ReaderWriter.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.5.2\Facades\System.Xml.XDocument.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.5.2\Facades\System.Xml.XmlSerializer.dll" /debug:pdbonly /optimize+ /out:obj\Release\Kudu.Contracts.dll /subsystemversion:6.00 /resource:obj\Release\Kudu.Contracts.Resources.resources /target:library /warnaserror+ /utf8output ..\Common\CommonAssemblyInfo.cs ..\Common\Constants.cs Commands\CommandEvent.cs Commands\CommandEventType.cs Commands\CommandResult.cs Commands\ICommandExecutor.cs Deployment\DeploymentFailedException.cs Deployment\DeployResult.cs Deployment\DeployStatus.cs Deployment\IDeploymentEnvironment.cs Deployment\IDeploymentManager.cs Deployment\IDeploymentManagerFactory.cs Deployment\IDeploymentStatusManager.cs Deployment\IDeploymentStatusFile.cs Deployment\IDetailedLogger.cs Deployment\ILogger.cs Deployment\LogEntry.cs Deployment\LogEntryType.cs Diagnostics\ApplicationLogEntry.cs Diagnostics\ProcessInfo.cs Diagnostics\ProcessModuleInfo.cs Diagnostics\ProcessThreadInfo.cs Diagnostics\RuntimeInfo.cs Editor\VfsStatEntry.cs Functions\FunctionSecrets.cs Functions\FunctionEnvelope.cs Functions\FunctionSecretsJsonOps.cs Functions\FunctionTestData.cs Functions\IFunctionManager.cs Functions\IKeyJsonOps.cs Functions\MasterKey.cs Functions\MasterKeyJsonOps.cs HashHelpers.cs Hooks\ConflictException.cs Hooks\WebHook.cs Hooks\HooksEventTypes.cs Hooks\IWebHooksManager.cs IEnvironment.cs Infrastructure\INamedObject.cs Infrastructure\IOperationLock.cs Infrastructure\OperationLockInfo.cs Infrastructure\LockExtensions.cs Infrastructure\LockOperationException.cs Infrastructure\RS.cs Infrastructure\StringUtils.cs Jobs\ContinuousJob.cs Settings\DiagnosticsSettings.cs Jobs\JobSettings.cs Jobs\IContinuousJobsManager.cs Jobs\IJobsManager.cs Jobs\IScriptHost.cs Jobs\ITriggeredJobsManager.cs Jobs\JobBase.cs Jobs\JobSettingsKeys.cs Jobs\TriggeredJob.cs Jobs\TriggeredJobHistory.cs Jobs\TriggeredJobRun.cs Settings\ISettingsProvider.cs Settings\DeploymentSettingsExtension.cs Settings\IDeploymentSettingsManager.cs Settings\SettingsKeys.cs SiteExtensions\InvalidEndpointException.cs SiteExtensions\ISiteExtensionManager.cs SiteExtensions\SiteExtensionInfo.cs SourceControl\IFileFinder.cs SourceControl\IRepositoryFactory.cs SourceControl\ScmType.cs SSHKey\ISSHKeyManager.cs Tracing\ITracer.cs Properties\AssemblyInfo.cs SourceControl\ChangeSet.cs SourceControl\Git\IGitServer.cs SourceControl\IRepository.cs SourceControl\RepositoryInfo.cs SourceControl\RepositoryType.cs Resources.Designer.cs "C:\Users\Mladen\AppData\Local\Temp.NETFramework,Version=v4.5.2.AssemblyAttributes.cs" Functions\FunctionSecretsJsonOps.cs(23,24): error CS1056: Unexpected character '$' [C:\Temp\kudu\Kudu.Contracts\Kudu.Contracts.csproj] Functions\FunctionSecretsJsonOps.cs(27,24): error CS1056: Unexpected character '$' [C:\Temp\kudu\Kudu.Contracts\Kudu.Contracts.csproj] Functions\FunctionSecretsJsonOps.cs(66,39): error CS1056: Unexpected character '$' [C:\Temp\kudu\Kudu.Contracts\Kudu.Contracts.csproj] Functions\FunctionTestData.cs(9,54): error CS1519: Invalid token '=' in class, struct, or interface member declaration [C:\Temp\kudu\Kudu.Contracts\Kudu.Contracts.csproj] Functions\FunctionTestData.cs(9,77): error CS1519: Invalid token ';' in class, struct, or interface member declaration [C:\Temp\kudu\Kudu.Contracts\Kudu.Contracts.csproj] Functions\MasterKeyJsonOps.cs(22,24): error CS1056: Unexpected character '$' [C:\Temp\kudu\Kudu.Contracts\Kudu.Contracts.csproj] Functions\MasterKeyJsonOps.cs(26,24): error CS1056: Unexpected character '$' [C:\Temp\kudu\Kudu.Contracts\Kudu.Contracts.csproj] Functions\MasterKeyJsonOps.cs(51,39): error CS1056: Unexpected character '$' [C:\Temp\kudu\Kudu.Contracts\Kudu.Contracts.csproj] Done Building Project "C:\Temp\kudu\Kudu.Contracts\Kudu.Contracts.csproj" (default targets) -- FAILED.

Done Building Project "C:\Temp\kudu\Kudu.Core\Kudu.Core.csproj" (default targets) -- FAILED.

Project "C:\Temp\kudu\kudu.sln" (4) is building "C:\Temp\kudu\Kudu.Core.Test\Kudu.Core.Test.csproj" (7) on node 1 (default targets). Project file contains ToolsVersion="12.0". This toolset may be unknown or missing, in which case you may be able to resolve this by installing the appropriate version of MSBuild, or the build may have been forced to a particular ToolsVersion for policy reasons. Treating the project as if it had ToolsVersion="4.0". For more information, please see http://go.microsoft.com/fwlink/?LinkId=291333. Project "C:\Temp\kudu\Kudu.Core.Test\Kudu.Core.Test.csproj" (7) is building "C:\Temp\kudu\Kudu.Services\Kudu.Services.csproj" (8) on node 1 (default targets). Project file contains ToolsVersion="12.0". This toolset may be unknown or missing, in which case you may be able to resolve this by installing the appropriate version of MSBuild, or the build may have been forced to a particular ToolsVersion for policy reasons. Treating the project as if it had ToolsVersion="4.0". For more information, please see http://go.microsoft.com/fwlink/?LinkId=291333. Done Building Project "C:\Temp\kudu\Kudu.Services\Kudu.Services.csproj" (default targets) -- FAILED.

Project "C:\Temp\kudu\Kudu.Core.Test\Kudu.Core.Test.csproj" (7) is building "C:\Temp\kudu\Kudu.Services.Web\Kudu.Services.Web.csproj" (9) on node 1 (default targets). C:\Temp\kudu\Kudu.Services.Web\Kudu.Services.Web.csproj(267,3): error MSB4019: The imported project "C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v11.0\WebApplications\Microsoft.WebApplication.targets" was not found. Confirm that the path in the declaration is correct, and that the file exists on disk. Done Building Project "C:\Temp\kudu\Kudu.Services.Web\Kudu.Services.Web.csproj" (default targets) -- FAILED.

Project "C:\Temp\kudu\Kudu.Core.Test\Kudu.Core.Test.csproj" (7) is building "C:\Temp\kudu\Kudu.TestHarness\Kudu.TestHarness.csproj" (10) on node 1 (default targets). Project file contains ToolsVersion="12.0". This toolset may be unknown or missing, in which case you may be able to resolve this by installing the appropriate version of MSBuild, or the build may have been forced to a particular ToolsVersion for policy reasons. Treating the project as if it had ToolsVersion="4.0". For more information, please see http://go.microsoft.com/fwlink/?LinkId=291333. Project "C:\Temp\kudu\Kudu.TestHarness\Kudu.TestHarness.csproj" (10) is building "C:\Temp\kudu\Kudu.Client\Kudu.Client.csproj" (11) on node 1 (default targets). Project file contains ToolsVersion="12.0". This toolset may be unknown or missing, in which case you may be able to resolve this by installing the appropriate version of MSBuild, or the build may have been forced to a particular ToolsVersion for policy reasons. Treating the project as if it had ToolsVersion="4.0". For more information, please see http://go.microsoft.com/fwlink/?LinkId=291333. Done Building Project "C:\Temp\kudu\Kudu.Client\Kudu.Client.csproj" (default targets) -- FAILED.

Project "C:\Temp\kudu\Kudu.TestHarness\Kudu.TestHarness.csproj" (10) is building "C:\Temp\kudu\Kudu.SiteManagement\Kudu.SiteManagement.csproj" (12) on node 1 (default targets). Project file contains ToolsVersion="12.0". This toolset may be unknown or missing, in which case you may be able to resolve this by installing the appropriate version of MSBuild, or the build may have been forced to a particular ToolsVersion for policy reasons. Treating the project as if it had ToolsVersion="4.0". For more information, please see http://go.microsoft.com/fwlink/?LinkId=291333. Done Building Project "C:\Temp\kudu\Kudu.SiteManagement\Kudu.SiteManagement.csproj" (default targets) -- FAILED.

Done Building Project "C:\Temp\kudu\Kudu.TestHarness\Kudu.TestHarness.csproj" (default targets) -- FAILED.

Done Building Project "C:\Temp\kudu\Kudu.Core.Test\Kudu.Core.Test.csproj" (default targets) -- FAILED.

Project "C:\Temp\kudu\kudu.sln" (4) is building "C:\Temp\kudu\Kudu.FunctionalTests\Kudu.FunctionalTests.csproj" (13) on node 1 (default targets). Project file contains ToolsVersion="12.0". This toolset may be unknown or missing, in which case you may be able to resolve this by installing the appropriate version of MSBuild, or the build may have been forced to a particular ToolsVersion for policy reasons. Treating the project as if it had ToolsVersion="4.0". For more information, please see http://go.microsoft.com/fwlink/?LinkId=291333. Done Building Project "C:\Temp\kudu\Kudu.FunctionalTests\Kudu.FunctionalTests.csproj" (default targets) -- FAILED.

Project "C:\Temp\kudu\kudu.sln" (4) is building "C:\Temp\kudu\Kudu.Performance\Kudu.Performance.csproj" (14) on node 1 (default targets). Project file contains ToolsVersion="12.0". This toolset may be unknown or missing, in which case you may be able to resolve this by installing the appropriate version of MSBuild, or the build may have been forced to a particular ToolsVersion for policy reasons. Treating the project as if it had ToolsVersion="4.0". For more information, please see http://go.microsoft.com/fwlink/?LinkId=291333. Done Building Project "C:\Temp\kudu\Kudu.Performance\Kudu.Performance.csproj" (default targets) -- FAILED.

Project "C:\Temp\kudu\kudu.sln" (4) is building "C:\Temp\kudu\Kudu.Console\Kudu.Console.csproj" (15) on node 1 (default targets). Project file contains ToolsVersion="12.0". This toolset may be unknown or missing, in which case you may be able to resolve this by installing the appropriate version of MSBuild, or the build may have been forced to a particular ToolsVersion for policy reasons. Treating the project as if it had ToolsVersion="4.0". For more information, please see http://go.microsoft.com/fwlink/?LinkId=291333. Done Building Project "C:\Temp\kudu\Kudu.Console\Kudu.Console.csproj" (default targets) -- FAILED.

Project "C:\Temp\kudu\kudu.sln" (4) is building "C:\Temp\kudu\Kudu.Services.Test\Kudu.Services.Test.csproj" (16) on node 1 (default targets). Project file contains ToolsVersion="12.0". This toolset may be unknown or missing, in which case you may be able to resolve this by installing the appropriate version of MSBuild, or the build may have been forced to a particular ToolsVersion for policy reasons. Treating the project as if it had ToolsVersion="4.0". For more information, please see http://go.microsoft.com/fwlink/?LinkId=291333. Done Building Project "C:\Temp\kudu\Kudu.Services.Test\Kudu.Services.Test.csproj" (default targets) -- FAILED.

Project "C:\Temp\kudu\kudu.sln" (4) is building "C:\Temp\kudu\Kudu.Stress\Kudu.Stress.csproj" (17) on node 1 (default targets). Project file contains ToolsVersion="12.0". This toolset may be unknown or missing, in which case you may be able to resolve this by installing the appropriate version of MSBuild, or the build may have been forced to a particular ToolsVersion for policy reasons. Treating the project as if it had ToolsVersion="4.0". For more information, please see http://go.microsoft.com/fwlink/?LinkId=291333. Done Building Project "C:\Temp\kudu\Kudu.Stress\Kudu.Stress.csproj" (default targets) -- FAILED.

Project "C:\Temp\kudu\kudu.sln" (4) is building "C:\Temp\kudu\Kudu.SiteManagement.Test\Kudu.SiteManagement.Test.csproj" (18) on node 1 (default targets). Project file contains ToolsVersion="12.0". This toolset may be unknown or missing, in which case you may be able to resolve this by installing the appropriate version of MSBuild, or the build may have been forced to a particular ToolsVersion for policy reasons. Treating the project as if it had ToolsVersion="4.0". For more information, please see http://go.microsoft.com/fwlink/?LinkId=291333. Done Building Project "C:\Temp\kudu\Kudu.SiteManagement.Test\Kudu.SiteManagement.Test.csproj" (default targets) -- FAILED.

Done Building Project "C:\Temp\kudu\kudu.sln" (Build target(s)) -- FAILED.

Done Building Project "C:\Temp\kudu\Build\Build.proj" (default targets) -- FAILED.

Build FAILED.

"C:\Temp\kudu\Build\Build.proj" (default target) (1) -> "C:\Temp\kudu\kudu.sln" (Build target) (4) -> "C:\Temp\kudu\Kudu.Core\Kudu.Core.csproj" (default target) (5) -> "C:\Temp\kudu\Kudu.Contracts\Kudu.Contracts.csproj" (default target) (6) -> (CoreCompile target) -> Functions\FunctionSecretsJsonOps.cs(23,24): error CS1056: Unexpected character '$' [C:\Temp\kudu\Kudu.Contracts\Kudu.Contracts.csproj] Functions\FunctionSecretsJsonOps.cs(27,24): error CS1056: Unexpected character '$' [C:\Temp\kudu\Kudu.Contracts\Kudu.Contracts.csproj] Functions\FunctionSecretsJsonOps.cs(66,39): error CS1056: Unexpected character '$' [C:\Temp\kudu\Kudu.Contracts\Kudu.Contracts.csproj] Functions\FunctionTestData.cs(9,54): error CS1519: Invalid token '=' in class, struct, or interface member declaration [C:\Temp\kudu\Kudu.Contracts\Kudu.Contracts.csproj] Functions\FunctionTestData.cs(9,77): error CS1519: Invalid token ';' in class, struct, or interface member declaration [C:\Temp\kudu\Kudu.Contracts\Kudu.Contracts.csproj] Functions\MasterKeyJsonOps.cs(22,24): error CS1056: Unexpected character '$' [C:\Temp\kudu\Kudu.Contracts\Kudu.Contracts.csproj] Functions\MasterKeyJsonOps.cs(26,24): error CS1056: Unexpected character '$' [C:\Temp\kudu\Kudu.Contracts\Kudu.Contracts.csproj] Functions\MasterKeyJsonOps.cs(51,39): error CS1056: Unexpected character '$' [C:\Temp\kudu\Kudu.Contracts\Kudu.Contracts.csproj]

"C:\Temp\kudu\Build\Build.proj" (default target) (1) -> "C:\Temp\kudu\kudu.sln" (Build target) (4) -> "C:\Temp\kudu\Kudu.Core.Test\Kudu.Core.Test.csproj" (default target) (7) -> "C:\Temp\kudu\Kudu.Services.Web\Kudu.Services.Web.csproj" (default target) (9) -> C:\Temp\kudu\Kudu.Services.Web\Kudu.Services.Web.csproj(267,3): error MSB4019: The imported project "C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v11.0\WebApplications\Microsoft.WebApplication.targets" was not found. Confirm that the path in the declaration is correct, and that the file exists on disk.

0 Warning(s)
9 Error(s)

Time Elapsed 00:01:17.22

watashiSHUN commented 7 years ago

hmm...you said that you have already tried this? can I see what your build.cmd looks like? also can you post the first few lines of your build ouput? for example, mine is:

Microsoft (R) Build Engine version 15.3.409.57025 for .NET Framework Copyright (C) Microsoft Corporation. All rights reserved.

MSBuild auto-detection: using msbuild version '15.3.409.57025' from 'C:\Program Files (x86)\Microsoft Visual Studio\2 017\Community\MSBuild\15.0\bin'. All packages listed in packages.config are already installed.

I tried with community, there's no problem building... looking at your log:

C:\Windows\Microsoft.NET\Framework\v4.0.30319\Csc.exe .... Project file contains ToolsVersion="12.0". This toolset may be unknown or missing, in which case you may be able to resolve this by installing the appropriate version of MSBuild, or the build may have been forced to a particular ToolsVersion for policy reasons. Treating the project as if it had ToolsVersion="4.0" .... Functions\FunctionSecretsJsonOps.cs(23,24): error CS1056: Unexpected character '$'

these lines are very suspicious, it feels like the msbuild you are using is https://github.com/projectkudu/kudu/blob/68200bcdcccde54e03196f96a45c20362d3a6980/build.cmd#L8

which should not be the case if using the change I mentioned

denimaaark commented 7 years ago

watashiSHUN thank you for tip, problem is in path, so %PROGRAMFILES% is going to "Program Files", not in "Program Files (86)"

i have now changed to if exist "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin\MSBuild.exe" ( set MsBuildExe="C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin\MSBuild.exe"

script as you ask .......................................

@echo Off set config=%1 if "%config%" == "" ( set config=Release )

:: use MSBuild from .net framework by default set MsBuildExe="%WINDIR%\Microsoft.NET\Framework\v4.0.30319\msbuild"

:: prefer vs2017, vs2015 then vs2013 if exist "%PROGRAMFILES%\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin\MSBuild.exe" ( set MsBuildExe="%PROGRAMFILES%\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin\MSBuild.exe" ) else if exist "%PROGRAMFILES%\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\Bin\MSBuild.exe" ( set MsBuildExe="%PROGRAMFILES%\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\Bin\MSBuild.exe" ) else if exist "%PROGRAMFILES(X86)%\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\Bin\MSBuild.exe" ( set MsBuildExe="%PROGRAMFILES(X86)%\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\Bin\MSBuild.exe" ) else if exist "%PROGRAMFILES(X86)%\Microsoft Visual Studio\2017\Enterprise\MSBuild\15.0\Bin\MSBuild.exe" ( set MsBuildExe="%PROGRAMFILES(X86)%\Microsoft Visual Studio\2017\Enterprise\MSBuild\15.0\Bin\MSBuild.exe" ) else if exist "%PROGRAMFILES%\MSBuild\14.0\Bin\MsBuild.exe" ( set MsBuildExe="%PROGRAMFILES%\MSBuild\14.0\Bin\MsBuild.exe" ) else if exist "%PROGRAMFILES(X86)%\MSBuild\14.0\Bin\MsBuild.exe" ( set MsBuildExe="%PROGRAMFILES(X86)%\MSBuild\14.0\Bin\MsBuild.exe" ) else if exist "%PROGRAMFILES%\MSBuild\12.0\Bin\MsBuild.exe" ( set MsBuildExe="%PROGRAMFILES%\MSBuild\12.0\Bin\MsBuild.exe" ) else if exist "%PROGRAMFILES(X86)%\MSBuild\12.0\Bin\MsBuild.exe" ( set MsBuildExe="%PROGRAMFILES(X86)%\MSBuild\12.0\Bin\MsBuild.exe" )

%MsBuildExe% Build\Build.proj /p:Configuration="%config%";ExcludeXmlAssemblyFiles=false /v:M /fl /flp:LogFile=msbuild.log;Verbosity=Normal /nr:false /m

denimaaark commented 7 years ago

in log there is another problem with test

Finished: Kudu.Core.Test === TEST EXECUTION SUMMARY === Kudu.Core.Test Total: 476, Errors: 0, Failed: 3, Skipped: 0, Time: 52,737s Done Building Project "C:\Temp\kudu\Build\Build.xunit.targets" (_RunTests target(s)) -- FAILED.

Done Building Project "C:\Temp\kudu\Build\Build.proj" (default targets) -- FAILED.

Build FAILED.

"C:\Temp\kudu\Build\Build.proj" (default target) (1) -> "C:\Temp\kudu\kudu.sln" (Build target) (4) -> "C:\Temp\kudu\Kudu.Core\Kudu.Core.csproj" (default target) (5) -> (ResolveAssemblyReferences target) -> C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin\Microsoft.Common.CurrentVersion.targets(1987,5): warning MSB3245: Could not resolve this reference. Could not locate the assembly "System.Web.Http". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors. [C:\Temp\kudu\Kudu.Core\Kudu.Core.csproj]

"C:\Temp\kudu\Build\Build.proj" (default target) (1) -> "C:\Temp\kudu\kudu.sln" (Build target) (4) -> "C:\Temp\kudu\Kudu.Stress\Kudu.Stress.csproj" (default target) (17) -> C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin\Microsoft.Common.CurrentVersion.targets(1987,5): warning MSB3245: Could not resolve this reference. Could not locate the assembly "Microsoft.VisualStudio.QualityTools.LoadTestFramework, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors. [C:\Temp\kudu\Kudu.Stress\Kudu.Stress.csproj] C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin\Microsoft.Common.CurrentVersion.targets(1987,5): warning MSB3245: Could not resolve this reference. Could not locate the assembly "Microsoft.VisualStudio.QualityTools.WebTestFramework, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors. [C:\Temp\kudu\Kudu.Stress\Kudu.Stress.csproj]

"C:\Temp\kudu\Build\Build.proj" (default target) (1) -> "C:\Temp\kudu\Build\Build.xunit.targets" (_RunTests target) (22) -> (_RunTests target) -> C:\Temp\kudu\Kudu.Core.Test\HgRepositoryFacts.cs(67): error : Kudu.Core.Test.HgRepositoryFacts.FetchWithoutConflictOnHgEmptyRepo: System.TypeInitializationException : The type initializer for 'Kudu.Core.SourceControl.HgRepository' threw an exception.\r\n---- System.InvalidOperationException : Unable to locate 'hg.exe'. Make sure it is installed. [C:\Temp\kudu\Build\Build.xunit.targets] C:\Temp\kudu\Kudu.Core.Test\HgRepositoryFacts.cs(67): error : at Kudu.Core.SourceControl.HgRepository..ctor(IExecutable executable, String homePath, ITraceFactory traceFactory)\r [C:\Temp\kudu\Build\Build.xunit.targets] C:\Temp\kudu\Kudu.Core.Test\HgRepositoryFacts.cs(67): error : at Kudu.Core.Test.HgRepositoryFacts.FetchWithoutConflictOnHgEmptyRepo() in C:\Temp\kudu\Kudu.Core.Test\HgRepositoryFacts.cs:line 67\r [C:\Temp\kudu\Build\Build.xunit.targets] C:\Temp\kudu\Kudu.Core.Test\HgRepositoryFacts.cs(67): error : ----- Inner Stack Trace -----\r [C:\Temp\kudu\Build\Build.xunit.targets] C:\Temp\kudu\Kudu.Core.Test\HgRepositoryFacts.cs(67): error : at Kudu.Core.Infrastructure.PathWindowsUtility.ResolveRelativePathToProgramFiles(String relativeX86Path, String relativeX64Path, String errorMessge) in C:\Temp\kudu\Kudu.Core\Infrastructure\PathUtils\PathWindowsUtility.cs:line 302\r [C:\Temp\kudu\Build\Build.xunit.targets] C:\Temp\kudu\Kudu.Core.Test\HgRepositoryFacts.cs(67): error : at Kudu.Core.Infrastructure.PathWindowsUtility.ResolveHgPath() in C:\Temp\kudu\Kudu.Core\Infrastructure\PathUtils\PathWindowsUtility.cs:line 46\r [C:\Temp\kudu\Build\Build.xunit.targets] C:\Temp\kudu\Kudu.Core.Test\HgRepositoryFacts.cs(67): error : at Kudu.Core.SourceControl.HgRepository.EnsureClientInitialized() in C:\Temp\kudu\Kudu.Core\SourceControl\Hg\HgRepository.cs:line 345\r [C:\Temp\kudu\Build\Build.xunit.targets] C:\Temp\kudu\Kudu.Core.Test\HgRepositoryFacts.cs(67): error : at Kudu.Core.SourceControl.HgRepository..cctor() in C:\Temp\kudu\Kudu.Core\SourceControl\Hg\HgRepository.cs:line 26 [C:\Temp\kudu\Build\Build.xunit.targets] C:\Temp\kudu\Kudu.Core.Test\HgRepositoryFacts.cs(67): error : Kudu.Core.Test.HgRepositoryFacts.FetchWithoutConflictOnHgEmptyRepo: System.TypeInitializationException : The type initializer for 'Kudu.Core.SourceControl.HgRepository' threw an exception.\r\n---- System.InvalidOperationException : Unable to locate 'hg.exe'. Make sure it is installed. [C:\Temp\kudu\Build\Build.xunit.targets] C:\Temp\kudu\Kudu.Core.Test\HgRepositoryFacts.cs(67): error : at Kudu.Core.SourceControl.HgRepository..ctor(IExecutable executable, String homePath, ITraceFactory traceFactory)\r [C:\Temp\kudu\Build\Build.xunit.targets] C:\Temp\kudu\Kudu.Core.Test\HgRepositoryFacts.cs(67): error : at Kudu.Core.Test.HgRepositoryFacts.FetchWithoutConflictOnHgEmptyRepo() in C:\Temp\kudu\Kudu.Core.Test\HgRepositoryFacts.cs:line 67\r [C:\Temp\kudu\Build\Build.xunit.targets] C:\Temp\kudu\Kudu.Core.Test\HgRepositoryFacts.cs(67): error : ----- Inner Stack Trace -----\r [C:\Temp\kudu\Build\Build.xunit.targets] C:\Temp\kudu\Kudu.Core.Test\HgRepositoryFacts.cs(67): error : at Kudu.Core.Infrastructure.PathWindowsUtility.ResolveRelativePathToProgramFiles(String relativeX86Path, String relativeX64Path, String errorMessge) in C:\Temp\kudu\Kudu.Core\Infrastructure\PathUtils\PathWindowsUtility.cs:line 302\r [C:\Temp\kudu\Build\Build.xunit.targets] C:\Temp\kudu\Kudu.Core.Test\HgRepositoryFacts.cs(67): error : at Kudu.Core.Infrastructure.PathWindowsUtility.ResolveHgPath() in C:\Temp\kudu\Kudu.Core\Infrastructure\PathUtils\PathWindowsUtility.cs:line 46\r [C:\Temp\kudu\Build\Build.xunit.targets] C:\Temp\kudu\Kudu.Core.Test\HgRepositoryFacts.cs(67): error : at Kudu.Core.SourceControl.HgRepository.EnsureClientInitialized() in C:\Temp\kudu\Kudu.Core\SourceControl\Hg\HgRepository.cs:line 345\r [C:\Temp\kudu\Build\Build.xunit.targets] C:\Temp\kudu\Kudu.Core.Test\HgRepositoryFacts.cs(67): error : at Kudu.Core.SourceControl.HgRepository..cctor() in C:\Temp\kudu\Kudu.Core\SourceControl\Hg\HgRepository.cs:line 26 [C:\Temp\kudu\Build\Build.xunit.targets] C:\Temp\kudu\Kudu.Core.Test\HgRepositoryFacts.cs(48): error : Kudu.Core.Test.HgRepositoryFacts.FetchWithoutConflictsDoesNotExecuteRecoverIfFirstAttemptSucceeds: System.TypeInitializationException : The type initializer for 'Kudu.Core.SourceControl.HgRepository' threw an exception.\r\n---- System.InvalidOperationException : Unable to locate 'hg.exe'. Make sure it is installed. [C:\Temp\kudu\Build\Build.xunit.targets] C:\Temp\kudu\Kudu.Core.Test\HgRepositoryFacts.cs(48): error : at Kudu.Core.SourceControl.HgRepository..ctor(IExecutable executable, String homePath, ITraceFactory traceFactory)\r [C:\Temp\kudu\Build\Build.xunit.targets] C:\Temp\kudu\Kudu.Core.Test\HgRepositoryFacts.cs(48): error : at Kudu.Core.Test.HgRepositoryFacts.FetchWithoutConflictsDoesNotExecuteRecoverIfFirstAttemptSucceeds() in C:\Temp\kudu\Kudu.Core.Test\HgRepositoryFacts.cs:line 48\r [C:\Temp\kudu\Build\Build.xunit.targets] C:\Temp\kudu\Kudu.Core.Test\HgRepositoryFacts.cs(48): error : ----- Inner Stack Trace -----\r [C:\Temp\kudu\Build\Build.xunit.targets] C:\Temp\kudu\Kudu.Core.Test\HgRepositoryFacts.cs(48): error : at Kudu.Core.Infrastructure.PathWindowsUtility.ResolveRelativePathToProgramFiles(String relativeX86Path, String relativeX64Path, String errorMessge) in C:\Temp\kudu\Kudu.Core\Infrastructure\PathUtils\PathWindowsUtility.cs:line 302\r [C:\Temp\kudu\Build\Build.xunit.targets] C:\Temp\kudu\Kudu.Core.Test\HgRepositoryFacts.cs(48): error : at Kudu.Core.Infrastructure.PathWindowsUtility.ResolveHgPath() in C:\Temp\kudu\Kudu.Core\Infrastructure\PathUtils\PathWindowsUtility.cs:line 46\r [C:\Temp\kudu\Build\Build.xunit.targets] C:\Temp\kudu\Kudu.Core.Test\HgRepositoryFacts.cs(48): error : at Kudu.Core.SourceControl.HgRepository.EnsureClientInitialized() in C:\Temp\kudu\Kudu.Core\SourceControl\Hg\HgRepository.cs:line 345\r [C:\Temp\kudu\Build\Build.xunit.targets] C:\Temp\kudu\Kudu.Core.Test\HgRepositoryFacts.cs(48): error : at Kudu.Core.SourceControl.HgRepository..cctor() in C:\Temp\kudu\Kudu.Core\SourceControl\Hg\HgRepository.cs:line 26 [C:\Temp\kudu\Build\Build.xunit.targets] C:\Temp\kudu\Kudu.Core.Test\HgRepositoryFacts.cs(48): error : Kudu.Core.Test.HgRepositoryFacts.FetchWithoutConflictsDoesNotExecuteRecoverIfFirstAttemptSucceeds: System.TypeInitializationException : The type initializer for 'Kudu.Core.SourceControl.HgRepository' threw an exception.\r\n---- System.InvalidOperationException : Unable to locate 'hg.exe'. Make sure it is installed. [C:\Temp\kudu\Build\Build.xunit.targets] C:\Temp\kudu\Kudu.Core.Test\HgRepositoryFacts.cs(48): error : at Kudu.Core.SourceControl.HgRepository..ctor(IExecutable executable, String homePath, ITraceFactory traceFactory)\r [C:\Temp\kudu\Build\Build.xunit.targets] C:\Temp\kudu\Kudu.Core.Test\HgRepositoryFacts.cs(48): error : at Kudu.Core.Test.HgRepositoryFacts.FetchWithoutConflictsDoesNotExecuteRecoverIfFirstAttemptSucceeds() in C:\Temp\kudu\Kudu.Core.Test\HgRepositoryFacts.cs:line 48\r [C:\Temp\kudu\Build\Build.xunit.targets] C:\Temp\kudu\Kudu.Core.Test\HgRepositoryFacts.cs(48): error : ----- Inner Stack Trace -----\r [C:\Temp\kudu\Build\Build.xunit.targets] C:\Temp\kudu\Kudu.Core.Test\HgRepositoryFacts.cs(48): error : at Kudu.Core.Infrastructure.PathWindowsUtility.ResolveRelativePathToProgramFiles(String relativeX86Path, String relativeX64Path, String errorMessge) in C:\Temp\kudu\Kudu.Core\Infrastructure\PathUtils\PathWindowsUtility.cs:line 302\r [C:\Temp\kudu\Build\Build.xunit.targets] C:\Temp\kudu\Kudu.Core.Test\HgRepositoryFacts.cs(48): error : at Kudu.Core.Infrastructure.PathWindowsUtility.ResolveHgPath() in C:\Temp\kudu\Kudu.Core\Infrastructure\PathUtils\PathWindowsUtility.cs:line 46\r [C:\Temp\kudu\Build\Build.xunit.targets] C:\Temp\kudu\Kudu.Core.Test\HgRepositoryFacts.cs(48): error : at Kudu.Core.SourceControl.HgRepository.EnsureClientInitialized() in C:\Temp\kudu\Kudu.Core\SourceControl\Hg\HgRepository.cs:line 345\r [C:\Temp\kudu\Build\Build.xunit.targets] C:\Temp\kudu\Kudu.Core.Test\HgRepositoryFacts.cs(48): error : at Kudu.Core.SourceControl.HgRepository..cctor() in C:\Temp\kudu\Kudu.Core\SourceControl\Hg\HgRepository.cs:line 26 [C:\Temp\kudu\Build\Build.xunit.targets] C:\Temp\kudu\Kudu.Core.Test\HgRepositoryFacts.cs(27): error : Kudu.Core.Test.HgRepositoryFacts.FetchWithoutConflictsRetriesWithRecoveryIfInitialFetchFails: System.TypeInitializationException : The type initializer for 'Kudu.Core.SourceControl.HgRepository' threw an exception.\r\n---- System.InvalidOperationException : Unable to locate 'hg.exe'. Make sure it is installed. [C:\Temp\kudu\Build\Build.xunit.targets] C:\Temp\kudu\Kudu.Core.Test\HgRepositoryFacts.cs(27): error : at Kudu.Core.SourceControl.HgRepository..ctor(IExecutable executable, String homePath, ITraceFactory traceFactory)\r [C:\Temp\kudu\Build\Build.xunit.targets] C:\Temp\kudu\Kudu.Core.Test\HgRepositoryFacts.cs(27): error : at Kudu.Core.Test.HgRepositoryFacts.FetchWithoutConflictsRetriesWithRecoveryIfInitialFetchFails() in C:\Temp\kudu\Kudu.Core.Test\HgRepositoryFacts.cs:line 27\r [C:\Temp\kudu\Build\Build.xunit.targets] C:\Temp\kudu\Kudu.Core.Test\HgRepositoryFacts.cs(27): error : ----- Inner Stack Trace -----\r [C:\Temp\kudu\Build\Build.xunit.targets] C:\Temp\kudu\Kudu.Core.Test\HgRepositoryFacts.cs(27): error : at Kudu.Core.Infrastructure.PathWindowsUtility.ResolveRelativePathToProgramFiles(String relativeX86Path, String relativeX64Path, String errorMessge) in C:\Temp\kudu\Kudu.Core\Infrastructure\PathUtils\PathWindowsUtility.cs:line 302\r [C:\Temp\kudu\Build\Build.xunit.targets] C:\Temp\kudu\Kudu.Core.Test\HgRepositoryFacts.cs(27): error : at Kudu.Core.Infrastructure.PathWindowsUtility.ResolveHgPath() in C:\Temp\kudu\Kudu.Core\Infrastructure\PathUtils\PathWindowsUtility.cs:line 46\r [C:\Temp\kudu\Build\Build.xunit.targets] C:\Temp\kudu\Kudu.Core.Test\HgRepositoryFacts.cs(27): error : at Kudu.Core.SourceControl.HgRepository.EnsureClientInitialized() in C:\Temp\kudu\Kudu.Core\SourceControl\Hg\HgRepository.cs:line 345\r [C:\Temp\kudu\Build\Build.xunit.targets] C:\Temp\kudu\Kudu.Core.Test\HgRepositoryFacts.cs(27): error : at Kudu.Core.SourceControl.HgRepository..cctor() in C:\Temp\kudu\Kudu.Core\SourceControl\Hg\HgRepository.cs:line 26 [C:\Temp\kudu\Build\Build.xunit.targets] C:\Temp\kudu\Kudu.Core.Test\HgRepositoryFacts.cs(27): error : Kudu.Core.Test.HgRepositoryFacts.FetchWithoutConflictsRetriesWithRecoveryIfInitialFetchFails: System.TypeInitializationException : The type initializer for 'Kudu.Core.SourceControl.HgRepository' threw an exception.\r\n---- System.InvalidOperationException : Unable to locate 'hg.exe'. Make sure it is installed. [C:\Temp\kudu\Build\Build.xunit.targets] C:\Temp\kudu\Kudu.Core.Test\HgRepositoryFacts.cs(27): error : at Kudu.Core.SourceControl.HgRepository..ctor(IExecutable executable, String homePath, ITraceFactory traceFactory)\r [C:\Temp\kudu\Build\Build.xunit.targets] C:\Temp\kudu\Kudu.Core.Test\HgRepositoryFacts.cs(27): error : at Kudu.Core.Test.HgRepositoryFacts.FetchWithoutConflictsRetriesWithRecoveryIfInitialFetchFails() in C:\Temp\kudu\Kudu.Core.Test\HgRepositoryFacts.cs:line 27\r [C:\Temp\kudu\Build\Build.xunit.targets] C:\Temp\kudu\Kudu.Core.Test\HgRepositoryFacts.cs(27): error : ----- Inner Stack Trace -----\r [C:\Temp\kudu\Build\Build.xunit.targets] C:\Temp\kudu\Kudu.Core.Test\HgRepositoryFacts.cs(27): error : at Kudu.Core.Infrastructure.PathWindowsUtility.ResolveRelativePathToProgramFiles(String relativeX86Path, String relativeX64Path, String errorMessge) in C:\Temp\kudu\Kudu.Core\Infrastructure\PathUtils\PathWindowsUtility.cs:line 302\r [C:\Temp\kudu\Build\Build.xunit.targets] C:\Temp\kudu\Kudu.Core.Test\HgRepositoryFacts.cs(27): error : at Kudu.Core.Infrastructure.PathWindowsUtility.ResolveHgPath() in C:\Temp\kudu\Kudu.Core\Infrastructure\PathUtils\PathWindowsUtility.cs:line 46\r [C:\Temp\kudu\Build\Build.xunit.targets] C:\Temp\kudu\Kudu.Core.Test\HgRepositoryFacts.cs(27): error : at Kudu.Core.SourceControl.HgRepository.EnsureClientInitialized() in C:\Temp\kudu\Kudu.Core\SourceControl\Hg\HgRepository.cs:line 345\r [C:\Temp\kudu\Build\Build.xunit.targets] C:\Temp\kudu\Kudu.Core.Test\HgRepositoryFacts.cs(27): error : at Kudu.Core.SourceControl.HgRepository..cctor() in C:\Temp\kudu\Kudu.Core\SourceControl\Hg\HgRepository.cs:line 26 [C:\Temp\kudu\Build\Build.xunit.targets]

3 Warning(s)
12 Error(s)

Time Elapsed 00:06:12.96

sabeersulaiman commented 7 years ago

The failed tests I assume are due to mercurial not being installed. If you don't use mercurial for source control. You can deactivate these tests by commenting the Fact attributes in kudu\Kudu.Core.Test\HgRepositoryFacts.cs. If I remember correctly there are 3 test cases.

denimaaark commented 7 years ago

sabeersulaiman, thank you, it is working now 👍

jvano commented 7 months ago

Hi

If the problem persists and is related to running it on Azure App Service, please open a support incident in Azure: https://learn.microsoft.com/en-us/azure/azure-portal/supportability/how-to-create-azure-support-request

This way we can better track and assist you on this case

Thanks,

Joaquin Vano Azure App Service