I get this error everytime I change some properties, generate models and rebuild the project:
Error CS1061 'IHtmlString' does not contain a definition for 'GetContentGrid' and no accessible extension method 'GetContentGrid' accepting a first argument of type 'IHtmlString' could be found (are you missing a using directive or an assembly reference?) SimpleArticle.generated.cs
To fix it, I always have to:
Change Models Builder from AppData to PureLive
Exclude the models folder from the project
Rebuild
Start the project
Change back from PureLive to AppData
Generate the models again in Umbraco backoffice
Include the models folder again
Rebuild the project one more time.
...and the error is gone. Until the next time I wanna generate models.
Any idea what might be causing it or where I should look?
Models Builder error after generating models
Hi guys. Umbraco v8.4, Models Builder 8.1
I get this error everytime I change some properties, generate models and rebuild the project:
To fix it, I always have to:
...and the error is gone. Until the next time I wanna generate models.
Any idea what might be causing it or where I should look?
Hi, did you fix it
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.