CS1061 Error in this line in Visual Studio

  • Thread starter Thread starter APikman
  • Start date Start date
A

APikman

Guest
I am getting a CS1061 Error in this line in Visual Studio

" var host = CreateWebHostBuilder(args).Build(); "

Severity Code Description Project File Line Suppression State
Error CS1061 'object' does not contain a definition for 'Build' and no accessible extension method 'Build' accepting a first argument of type 'object' could be found (are you missing a using directive or an assembly reference?)


Please help

Continue reading...
 
Back
Top