Copied to clipboard

Flag this post as spam?

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


  • Mike Chambers 597 posts 1122 karma points c-trib
    6 days ago
    Mike Chambers
    0

    v8 preview via nuget.... doesn't seem to fetch umbraco dlls, or reference them in the solution?

    https://github.com/umbraco/UmbracoDocs/edit/master/Getting-Started/Setup/Install/install-umbraco-with-nuget.md

    following the instructions, with one change..

    Install-Package UmbracoCms -Pre -Source https://www.myget.org/F/umbracocore/api/v3/index.json
    

    Nuget Package 'UmbracoCms.8.0.0-alpha.58.1540' is installed successfully.

    when building (Ctrl+f5 from vs 2017) the successfully installed nuget package.. I get

        Server Error in '/' Application.
        Parser Error
        Description: An error occurred during the parsing of a resource required to service this request.
        Please review the following specific parse error details and modify your source file appropriately.
    
        Parser Error Message: Could not load type 'Umbraco.Web.UmbracoApplication'.
    
        Source Error:
    
        Line 1: <%@ Application Inherits="Umbraco.Web.UmbracoApplication" Language="C#" %>
    
        Source File: /global.asax Line: 1
    
        Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.7.3282.0
    

    It looks like all the required umbraco dlls aren't being propagated into the bin folder (they don't appear n the solution references either), are there dependencies missing in the nuget package?

    I do have a v8 up and running via cloning the whole source from github.. but just wanted a release binary to play with and though nuget would be it?

  • Sebastiaan Janssen 4692 posts 13196 karma points MVP admin hq
    5 days ago
    Sebastiaan Janssen
    0

    That works on our machines, maybe try again?

    Requirements are: .net 4.7.2 and the latest updates for VS17 should be installed.

  • Mike Chambers 597 posts 1122 karma points c-trib
    5 days ago
    Mike Chambers
    0

    That could be it.. the default for a empty asp.net web application seems to have set to 4.6.1 for me, though 4.7.2 is available.

    I presume you mean visual studio 2017 community (or other flavour).. (I've version 15.9.5)

    Should it work in visual studio code too?

    Away at the moment, but will try later and let you know. Thanks!

  • Sebastiaan Janssen 4692 posts 13196 karma points MVP admin hq
    3 days ago
    Sebastiaan Janssen
    0

    I presume you mean visual studio 2017 community (or other flavour).. (I've version 15.9.5)

    All editions are basically the same. 15.9.5 is perfect.

    Should it work in visual studio code too?

    You can't install NuGet packages in VSCode, so no :-)

  • Mike Chambers 597 posts 1122 karma points c-trib
    3 days ago
    Mike Chambers
    0

    Setting the framework target for the empty asp.net web project to v4.7.2 was the missing link.

    As per the cloned source requirements, do we also need the 4.7.2 developer pack (I'd installed that as well already so not sure if needed or not)?

  • Sebastiaan Janssen 4692 posts 13196 karma points MVP admin hq
    3 days ago
    Sebastiaan Janssen
    0

    Not sure, but doubt it. it should just run on the .net framework itself, dev pack would be for developing Umbraco from source.

Please Sign in or register to post replies

Write your reply to:

Draft