This post shows you how to solve the error:
In the view which it specifies in the error you need to add a section like this:
Where "Head" is the name of the section and false means it's not enforced on any views below it. You can set it to true if you want.
Do this for each of the section names that come after the view path.
This post tells you how to solve the error assets file project.assets.json not found in Visual Studi…Read Post
This post gives you some razor code to help you see the values of the IPublishedContent item's prope…Read Post