Recently i have changed the namespace using the project properties. After that, application was compiling successfully, but at run-time it throws error "The type or namespace name ‘sample’ could not be found (are you missing a using directive or an assembly reference?)". Error: Line 23: using System.Web.Routing; Line 24: using Sample;
Source File: c:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files......\App_Web_index.cs Line:
I tried to locate the string “using Sample” and didn’t find anywhere in my solution. Tried removing the temporary files from framework folder but no luck.