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 1019 posts 1528 karma points MVP
    Feb 27, 2019 @ 23:51
    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 6163 posts 24143 karma points MVP 8x admin c-trib
    Feb 28, 2019 @ 00:11
    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 1019 posts 1528 karma points MVP
    Feb 28, 2019 @ 00:46
    Jesper Ordrup
    1

    Thanks Alex :-)

    (damn ....)

  • Dave 8 posts 80 karma points
    Feb 28, 2019 @ 10:28
    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
    Feb 28, 2019 @ 11:21
    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 80 karma points
    Feb 28, 2019 @ 11:29
    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 5060 posts 15522 karma points MVP admin hq
    Feb 28, 2019 @ 12:29
    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

  • RockawayRichie 1 post 21 karma points
    Apr 08, 2020 @ 00:56
    RockawayRichie
    0

    Adding the package worked for me.

    Install-Package Microsoft.CodeDom.Providers.DotNetCompilerPlatform
    

    Thanks for the help.

Please Sign in or register to post replies

Write your reply to:

Draft