Copied to clipboard

Flag this post as spam?

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


  • Dominik Ernst 7 posts 97 karma points
    Oct 11, 2017 @ 14:02
    Dominik Ernst
    0

    CS0122 'PublishedContentWrapped.Content' is inaccessible due to its protection level

    Something, I don't know happend to the Solution. Now I get this error message: "CS0122 'PublishedContentWrapped.Content' is inaccessible due to its protection level" How can I replace or repair this line of Code.

    using System.Linq; using System.Web.Mvc; using Orca.Homepage.Core.PublishedContentModels; using Orca.Homepage.Web.Models.DocTypeGridEditorViewModels;

    namespace Orca.Homepage.Web.Controller.PartialController { public class Template2ViewSurfaceController : HomepageDocTypeGridEditorSurfaceController

    Thanks Regards Dominik

  • Rabea_M 26 posts 140 karma points
    Aug 20, 2018 @ 05:16
    Rabea_M
    0

    Did you find the solution to this? I am facing the same problem, Can you please share if something fixed your problem

  • Dominik Ernst 7 posts 97 karma points
    Aug 20, 2018 @ 08:02
    Dominik Ernst
    0

    Hi Rabea,

    sorry, but I can't remember the Solution. Maybe a clean build or Generate models in umbraco-admin-developer-area or maybe this ...

    Compiler Error Message: CS0122

    Regards Dominik

Please Sign in or register to post replies

Write your reply to:

Draft