Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • David-Sebastian Bahr 4 posts 35 karma points
    Jun 30, 2017 @ 12:33
    David-Sebastian Bahr
    1

    Help building Umbraco Source

    Hi there.

    I wanted to start contributing to Umbraco, so I decided to get the source code and try building it, in order to at some point create my first pull request.

    I have tried following the quick start guide, so I have forked the official repostiory, and I have the dev-7 branch checked out.

    I'm running Win 10 Enterprise inside a VM, and have VS2017 installed When I run the Build.bat file the build process fails very quickly with the following error, and I have no clue how to proceed. Any help to point me in the right direction would be greatly appreciated:

    I'm getting this error, when running the Build.bat:

    ################################################################
    Building Umbraco 7.6.4
    ################################################################
    
    Removing the belle build folder and bower_components folder to make sure everything is clean as a whistle
    The system cannot find the file specified.
    The system cannot find the file specified.
    
    Removing existing built files to make sure everything is clean as a whistle
    The system cannot find the file specified.
    
    Making sure Git is in the path so that the build can succeed
    git version 2.13.1.windows.2
    The system cannot find the file specified.
    The system cannot find the path specified.
    
    Making sure we have a web.config
    
    Visual Studio is installed in: C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional
    
    Reporting NuGet version
    NuGet Version: 4.1.0.2450
    
    Restoring NuGet packages
    Into C:\Dev\Umbraco-CMS\build\..\src\packages
    WARNING: Project file C:\Dev\Umbraco-CMS\src\http://localhost:3961 cannot be found.
    
    
    Performing MSBuild and producing Umbraco binaries zip files
    This takes a few minutes and logging is set to report warnings
    and errors only so it might seems like nothing is happening for a while.
    You can check the msbuild.log file for progress.
    
    Microsoft (R) Build Engine version 14.0.23107.0
    Copyright (C) Microsoft Corporation. All rights reserved.
    
    C:\Dev\Umbraco-CMS\src\umbraco.presentation.targets(68,38): error MSB4022: The result "" of evaluating the value "$(Web
    PublishingTasks)" of the "AssemblyFile" attribute in element <UsingTask> is not valid. [C:\Dev\Umbraco-CMS\src\Umbraco.
    Web.UI\Umbraco.Web.UI.csproj]
    
    Errors were detected!
    

    Thanks in advance,

    Best regards,

    David

  • Andy Butland 422 posts 2334 karma points MVP 4x hq c-trib
    Jun 30, 2017 @ 14:17
    Andy Butland
    101

    Can't comment on the specific error with the batch file, but in my experience you can build the solution using Visual Studio and the front-end by running the grunt tasks specified in the readme of the Umbraco.Web.UI.Client folder.

    So don't believe it's actually necessary to use the batch file.

    Hope that helps

    Andy

  • David-Sebastian Bahr 4 posts 35 karma points
    Jun 30, 2017 @ 17:16
    David-Sebastian Bahr
    0

    Hi Andy,

    Thanks for the suggestion!

    I will give it a try :)

    Best regards,

    David

  • David-Sebastian Bahr 4 posts 35 karma points
    Jul 01, 2017 @ 15:51
    David-Sebastian Bahr
    0

    Hi Andy,

    Your solution seems to work.

    Thanks for helping out :)

    Best regards,

    David

Please Sign in or register to post replies

Write your reply to:

Draft