Chapter 3: Seeing same simple page after adding CSS and Images.

May 29, 2014 at 10:43 AM
Hi all,
I am following this MVC practise, and right now I have created a Shared folder with all the necessary file (_Layout.cshtml, Error.cshtml), I have added everything to Content Folder as well, but right now when I run the program I am NOT able to see any effects. I tried to remove my browser cache as well, but did not work.

Please help me in this regard.

P.S: I am running vs2010, and MVC4, I have created an empty application NOT Web.
Jul 15, 2014 at 6:34 PM
Hi guy, i'm trying to do the same thing, but, the same error is displayed, do you know how can i fix it?
Jul 15, 2014 at 7:08 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...