I've cloned the Umbraco-CMS repo from github and am unable to build it from source on my machine by following the guide in the Build.md file. Neither the v8/contrib or netcore/dev branches will compile.
The error shown in the console is:
Exception calling "RunMethod" with "1" argument(s): "Exception calling "Build" with "0" argument(s): "Exception calling "RestoreNuGet" with "0" argument(s): "Failed to restore NuGet packages."""
At D:\Programming\OpenSource\Umbraco-CMS\build\build.ps1:542 char:5
+ $ubuild.RunMethod($command);
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [], MethodInvocationException
+ FullyQualifiedErrorId : ScriptMethodRuntimeException
Error!
MethodInvocationException: Exception calling "RunMethod" with "1" argument(s): "Exception calling "Build" with "0" argument(s): "Exception calling "RestoreNuGet" with "0" argument(s): "Failed to restore NuGet packages."""
At D:\Programming\OpenSource\Umbraco-CMS\build\build.ps1:542:5
+ $ubuild.RunMethod($command);
MethodInvocationException: Exception calling "Build" with "0" argument(s): "Exception calling "RestoreNuGet" with "0" argument(s): "Failed to restore NuGet packages.""
At D:\Programming\OpenSource\Umbraco-CMS\build\temp\Umbraco.Build.0.2.15\ps\Boot.ps1:35:5
+ $method.Invoke($arguments)
MethodInvocationException: Exception calling "RestoreNuGet" with "0" argument(s): "Failed to restore NuGet packages."
At D:\Programming\OpenSource\Umbraco-CMS\build\build.ps1:488:5
+ $this.RestoreNuGet()
RuntimeException: Failed to restore NuGet packages.
At D:\Programming\OpenSource\Umbraco-CMS\build\build.ps1:386:20
+ if (-not $?) { throw "Failed to restore NuGet packages." }
RemoteException: Invalid restore input. Missing required property 'OutputPath' for project type 'PackageReference'. Input files: D:\Programming\OpenSource\Umbraco-CMS\src\Umbraco.ModelsBuilder.Embedded\Umbraco.ModelsBuilder.Embedded.csproj.At D:\Programming\OpenSource\Umbraco-CMS\build\build.ps1:385:5
+ &$this.BuildEnv.NuGet restore "$($this.SolutionRoot)\src\Umbraco.sln" > "$($this.BuildTemp)\nuget.restore.log" @params
Abort
The nuget.restore.log has the following content:
MSBuild auto-detection: using msbuild version '4.8.3752.0 built by: NET48REL1' from 'C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319'.
WARNING: Project file D:\Programming\OpenSource\Umbraco-CMS\src\http://localhost:3961 cannot be found.
Would sincerely appreciate any help you can give with this issue.
Unable to build Umbraco from source
I've cloned the Umbraco-CMS repo from github and am unable to build it from source on my machine by following the guide in the Build.md file. Neither the
v8/contrib
ornetcore/dev
branches will compile.The error shown in the console is:
The
nuget.restore.log
has the following content:Would sincerely appreciate any help you can give with this issue.
is working on a reply...