Skip to content

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

Open
@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

    area-mvcIncludes: MVC, Actions and Controllers, Localization, CORS, most templates

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions