Error while trying to create a view from a controller and model

Asked

Viewed 46 times

0

When trying to create a View from the Controller, using Asp.Net Core 2.0 Web Api, I have this error. It only happens when I do:

1) Template -> List 2) Model class -> when I search the Model folder for a file, in my case: Operatordetailsmodel

inserir a descrição da imagem aqui

How do you fix it?

  • update Microsoft.AspNetCore.All package

  • @Netinhosantos, when I try to update I have this mistake: The Microsoft.AspNetCore.All 2.1.1 package is not compatible with netcoreapp2.0 (.Netcoreapp,Version=v2.0). Microsoft.AspNetCore.All 2.1.1 package supports: netcoreapp2.1 (.Netcoreapp,Version=v2.1)

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.