As I understand it, a plain ol\' \"~/foo\" path is supposed to work like @Url.Content(\"~/\") in MVC 4. However, I\'m trying to do this and getting many broken paths -- the
I had this problem when I cut and paste some example code into a view. Turned out I had the wrong type of tilde!
@{ Layout = "∼/Views/_BasicLayout.cshtml"; }
vs
@{ Layout = "~/Views/_BasicLayout.cshtml"; }
Subtly different - sod to find