Copied to clipboard

Flag this post as spam?

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


  • Jesper Ordrup 975 posts 1411 karma points MVP
    25 days ago
    Jesper Ordrup
    0

    Installing Umbraco 8 using nuget?

    Hi there,

    Using Visual Studio 2017

    Im trying to install Umbraco V8 using nuget without much luck. Ive tried using Web application project and just website (not application).

    After doing install-package umbracoCms, I run the project and the message goes:

    Could not load file or assembly 'Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=2.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

    Installing this and rerunning project gives me:

    Could not load type 'Umbraco.Web.UmbracoApplication'.

    Visual Code

    Using the god ole unzip works fine but has anyone succeded in installing V8 using nuget here?

    best

    Jesper

  • Alex Skrypnyk 5067 posts 18419 karma points MVP 2x admin c-trib
    25 days ago
    Alex Skrypnyk
    101

    Hi Jesper

    Please, check your Visual Studio version, it should be at least 2017 version 15.9.6+, check requirements:

    Local Development
    Microsoft Windows 7 SP1
    Visual Studio Code with the IISExpress extension or Microsoft Visual Studio 2017 version 15.9.6+
    ASP.NET 4.7.2
    

    https://our.umbraco.com/documentation/Getting-Started/Setup/Requirements/

    Thanks,

    Alex

  • Jesper Ordrup 975 posts 1411 karma points MVP
    25 days ago
    Jesper Ordrup
    1

    Thanks Alex :-)

    (damn ....)

  • Dave 8 posts 79 karma points
    24 days ago
    Dave
    0

    Same issue here, however I have just updated to 15.9.7

    Could not load file or assembly 'Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=2.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
    

    Installed using

    Install-Package Microsoft.CodeDom.Providers.DotNetCompilerPlatform
    

    However...

    Could not load type 'Umbraco.Web.UmbracoApplication'.
    
  • Thomas Heaney 8 posts 29 karma points
    24 days ago
    Thomas Heaney
    1

    I had the same problem with DotNetCompiler. According to the NuGet package manager I was using version 2.0.0. Upgrading to 2.0.1 fixed this.

  • Dave 8 posts 79 karma points
    24 days ago
    Dave
    1

    Got it!

    Make sure you are installing it in a project using the correct .net framework, I hadnt updated to the latest version, so tried installing it in a 4.6.2 project (latest I had) and thats why.

    Updated to 4.7.2 and im in.

  • Sebastiaan Janssen 4802 posts 13975 karma points MVP admin hq
    24 days ago
    Sebastiaan Janssen
    3

    FYI: I've update the v8-specific install guide to mention not to forget the .NET Framework version and the correct VS2017 version.

    https://our.umbraco.com/Documentation/Getting-Started/Setup/Install/install-umbraco-with-nuget

Please Sign in or register to post replies

Write your reply to:

Draft