Skip to content

On .NET 10 PR 3 MVC fails to find views #61465

@sevinul

Description

@sevinul

Is there an existing issue for this?

  • I have searched the existing issues

Describe the bug

MVC fails to find the existing index.cshtml view on runtime,

Expected Behavior

Navigate to the index.cshtml view.

Steps To Reproduce

Pull and run on .NET 10 PR3:
https://github.com/sevinul/mvc_asp.net_core_web_app
This is the standard MVC ASP.NET core web app template.

Exceptions (if any)

InvalidOperationException: The view 'Index' was not found. The following locations were searched:
/Views/Home/Index.cshtml
/Views/Shared/Index.cshtml

.NET Version

10.0.100-preview.3.25201.16

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Needs: Author FeedbackThe author of this issue needs to respond in order for us to continue investigating this issue.area-ui-renderingIncludes: MVC Views/Pages, Razor Views/Pages

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions