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
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
toAppData
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
is working on a reply...
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.