Copied to clipboard

Flag this post as spam?

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


  • Alex 22 posts 105 karma points
    Apr 25, 2017 @ 02:11
    Alex
    0

    Running Umbraco from source code in VS2017

    Hello, I just get the latest sources of Umbraco and trying to run it from source code. But have troubles doing it. Is it some kind of special configuration of setup I need on my machine?

    The issue I have: redirect to this page http://localhost:7513/install/?redir=true&url=http%3a%2f%2flocalhost%3a7513%2f and an error message "A server error occurred This is most likely due to an error during application startup"

    Based on logs it looks like a lot of files not found in /Umbraco/Js folder, in my case I have 12 files, but compiled version have 29 files

    I was also trying to build using /build/build.bat but it gives me MSBuild error

    d:\Downloads\Umbraco-CMS-dev-v7\src\umbraco.presentation.targets(68,38): error MSB4022: The result "" of evaluating the value "$(WebPublishingTasks)" of the "AssemblyFile" attribute in element

    I assume it needs visual studio 2015, but on my machine, I have only visual studio 2017 installed.

    At least point me in right direction, maybe some guide or document...

  • Phil Atkinson 51 posts 244 karma points
    May 22, 2017 @ 14:16
    Phil Atkinson
    102

    add this to your umbraco.presentation.targets file:

    <PropertyGroup Condition="Exists('$(MSBuildExtensionsPath)\Microsoft\VisualStudio\v15.0\Web\Microsoft.Web.Publishing.Tasks.dll')">
        <WebPublishingTasks>$(MSBuildExtensionsPath)\Microsoft\VisualStudio\v15.0\Web\Microsoft.Web.Publishing.Tasks.dll</WebPublishingTasks>
      </PropertyGroup>
    
Please Sign in or register to post replies

Write your reply to:

Draft