Intellisense on models in Visual studio
To get Intellisense on your umbraco models from modelsbuilder we have two recommended ways of achiving this.
Last updated
Was this helpful?
To get Intellisense on your umbraco models from modelsbuilder we have two recommended ways of achiving this.
Last updated
Was this helpful?
Install the full ModelsBuilder () nuget package and change the ModelsMode to Dll and then build your models in the Umbraco backoffice. This will generate a Dll that will give you intellisense.
Create a new project in Visual Studio that will contain your models and make it build into your web project. Change your ModelsMode to AppData and add these two settings to your web.config:
Where the Project.Models is the name of your models project. This will generate your models into this directory and will on build generate a dll with your models.