Copied to clipboard

Flag this post as spam?

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


  • Jason Espin 368 posts 1335 karma points
    Jun 02, 2016 @ 10:29
    Jason Espin
    0

    Intellisense : Type or namespace name 'IPublishedContent' could not be found yet project compiles fine

    Hi all,

    I'm getting some weird errors in Visual Studio that is currently halting my development as I rely on intellisense like most developers.

    Currently my solution is flagging up a number of intellisense errors such as the one in the title yet when I got to compile my solution, it works absolutely fine.

    Has anyone seen this behaviour before and if so, how do I fix it? I've already tried cleaning my solution and closing Visual Studio and reopening but after a couple of minutes it starts highlighting everything in red again which annoying because I don't know what actually is an error and what is not.

    Any help with this would be greatly appreciated.enter image description here

    Kind regards,

    Jason Espin

  • Jordan 24 posts 182 karma points
    Jun 02, 2016 @ 10:47
    Jordan
    100

    Hi Jason,

    That does seem very odd. Have you tried clicking on the red highlighted code and pressing 'ctrl + .' visual studio will try and give you some recommendations on what to do (these may not help in your case).

    The next thing I would say is have a look at the references, It may be that one of the references is pointing at the wrong version (however I would think the build would break if this was the case)

    The other option is opening up visual studio in admin mode (right click and run as administrator). From there clean the solutions then trigger a rebuild, it could possible be a writing issue.

    Let me know if any of those helps.

    Thanks Jordan

  • Jason Espin 368 posts 1335 karma points
    Jun 20, 2016 @ 17:13
    Jason Espin
    0

    Hi Jordan,

    Visual Studio was the issue here. The clean and rebuild from Admin mode worked.

    Thanks J

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies