How do I solve a “view not found” exception in asp.net core mvc project

In my case, the build action was somehow changed to Embedded resource which is not included in published files.

Changing Embedded resource to Content resolves my issue.

enter image description here

Leave a Comment