_Layout.cshtml file is not found under shared folder

Jun 6, 2013 at 11:40 PM
HI ,

as I follow the tutorial step by step online , I dont get the layout.cshtml file automatically under my project's shared folder ,
I am a complete novice to this world :)
when I add the layout file by myself and copy the code to it , the output is not customized as in the tutorial ...
plz help me out !!!
Jul 15, 2014 at 7:39 PM
I'm getting the same problem... Using VS 2013 Express for Web and MVC 4
Jul 15, 2014 at 8:03 PM
Edited Jul 15, 2014 at 8:07 PM
I did too but I fixed it.
I created the file from scratch as instructed with the prescribed name in the Views AND then I had to add a _ViewStart.cshtml file; also in the Views directory that simply had:

@{
   Layout = "~/Views/Shared/_Layout.cshtml";   }
in it. and then I was off and running. Then, I was off and running till step 5 where I can not create the StoreManagerController for the LIFE of me...

But, anyhow... that's how to fix the _layout issue... Good Luck...
Jul 16, 2014 at 2:23 PM
Yes, i do it too, and work it, thanks guy!