Copied to clipboard

Flag this post as spam?

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


  • Neil Thompson 2 posts 82 karma points
    Nov 01, 2019 @ 12:50
    Neil Thompson
    0

    8.20 How do I enable intellisense please?

    I am new to Umbraco. I've just created a new VS solution, installed Umbraco 8.20 with the sample project included

    I want to be able to have intellisense in VS for my Views but can't seem to find the correct balance of settings to allow this without the build failing.

    The default setup I have is Views and Models are not part of the VS project, and .ModelsMode = PureLive

    How do I enable intellisense please?

    edit: just found this link (posted here for anyone else who is as lost as me) https://24days.in/umbraco-cms/2016/getting-started-with-modelsbuilder/

    which seems to be:

    Set Umbraco.ModelsBuilder.ModelsModel to AppData

    Go to the ModelBuilder and Generate models (this removes the PureLive models and regenerates in the new stylee)

    Include the Views folder and files

    Include the App_Data/Models folder and files

Please Sign in or register to post replies

Write your reply to:

Draft