In my application (c# with mvc4) I have following error when trying to build the project so please any one help me to solve the problem.
Error 1 Files has invalid value "C:\Users\Sample\Documents\Solution\Solution\project folder\bin\Debug/_HomePage.cshtml", 32, 11, true);". Illegal characters in path.
/is not a valid path character. Have you modified your project file by hand perhaps? Search the entire solution for_HomePage.cshtmlwith the*.*file filter. Is there a result with/prepended or generally funny?_HomePage.cshtmlcreated? The convention is that only layout pages start with_. Did you use a custom template or generator perhaps? There may be a problem with the project or generator template