I get the error: **The layout page "\_Layout" could not be found at the following path: "~/Views/Home/\_Layout".**

But layout page is at this path: "~/Views/Shared/\_Layout"

What can it be for problem?

I just started the project and it look like this:

Controller:

```
namespace Testing.Controllers
{
    public class HomeController : Controller
    {
        //
        // GET: /Home/

        public ActionResult Index()
        {
            return View();
        }
    }
}

```

Index view:

```
@model dynamic

@{
    ViewBag.Title = "title";
    Layout = "_Layout";
}

<h2>title</h2>

```

\_ViewStart.cshtml:

```
@{
    Layout = "~/Views/Shared/_Layout.cshtml";
}

```

Solution Explorer:

![Solution Explorer:](https://i.stack.imgur.com/0kTOq.png)