Copied to clipboard

Flag this post as spam?

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


  • Draageryd 5 posts 75 karma points
    Oct 15, 2020 @ 08:52
    Draageryd
    0

    Build problem (CodeDom provider)

    This is what I did:

    1) Downloaded, extracted the files and ran Umbraco 8 for the first time

    2) Made some changes datatype, template and content. Everything was great!

    3) Found out that I needed to custom controllers

    4) Changed the webconfig:
    from: <add key="Umbraco.ModelsBuilder.ModelsMode" value="PureLive" />
    to: <add key="Umbraco.ModelsBuilder.ModelsMode" value="AppData" />

    5) Started to rebuild the application..... NOT GREAT

    6) Got this error:
    "The CodeDom provider type "Microsoft.VisualC.CppCodeProvider, CppCodeProvider, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" could not be located."

    7) Changed the webconfig (back):
    from: <add key="Umbraco.ModelsBuilder.ModelsMode" value="AppData" />
    to: <add key="Umbraco.ModelsBuilder.ModelsMode" value="PureLive" />

    8) Still the same error...

    My questions are:
    - why do I get the error?
    - what can I do about it?

    Fortunately I have a backup of the work I have already done, but I still need the custom controller :-)

  • Heather Floyd 603 posts 1001 karma points MVP 5x c-trib
    Nov 13, 2020 @ 21:10
    Heather Floyd
    0

    I don't think this is an Umbraco-specific issue. Take a look at the suggested solutions here: https://stackoverflow.com/questions/20545224/web-application-build-error-the-codedom-provider-type-microsoft-visualc-cppcode

Please Sign in or register to post replies

Write your reply to:

Draft