Tag Archives: asp.net core error

[Solved] The asp.net core view page reported an error “The view’Index’ was not found. The following locations were searched:\r\n/Views/WeChatMessageHistory/Index.cshtml\r\n

 

InvalidOperationException: The partial view ‘../Shared/OKAdmin/_OKNav’ was not found. The following locations were searched: /Views/Shared/OKAdmin/_OKNav.cshtml

If you encounter this exception, you can check whether there is a partial view in the catalog queried by the framework

If it is confirmed to exist, you can check the file attributes

Confirm that the generation operation is: content,

Just regenerate