jacksorjacksor (Richard Jackson)
08/22/2023, 4:46 PMMicrosoft.AspNetCore.Mvc.Razor.RuntimeCompilation.CompilationFailedException: One or more compilation failures occurred:\r\ngipivcuq.woh(75,90): error CS0433: The type 'Home' exists in both 'ModelsGeneratedAssembly, Version=0.0.0.1, Culture=neutral, PublicKeyToken=null' and 'Umbraco.BlogAttempt.01, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'\r\nC:\\home\\site\\wwwroot\\Views\\home.cshtml(10,89): error CS1503: Argument 1: cannot convert from 'method group' to 'string'\r\n at Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation.RuntimeView
and it continues.
Any advice on what's happened, or, more importantly, what I can do have this not happen?
TIA!
#devopsMatt Wise
08/22/2023, 4:49 PMjacksorjacksor (Richard Jackson)
08/22/2023, 4:53 PM"ModelsBuilder": { "ModelsMode": "SourceCodeManual" }
So, into appsettings.Production.json (or just appsettings.json), I should put:
"ModelsBuilder": { "ModelsMode": "Nothing" }
?
Also, thank you for the utterly immediate response, #h5yr indeedAmbert
08/22/2023, 4:58 PMjacksorjacksor (Richard Jackson)
08/22/2023, 5:00 PMjacksorjacksor (Richard Jackson)
08/22/2023, 5:15 PMAmbert
08/22/2023, 5:58 PM