Source Error:
*****Line 1: <%@ Application Codebehind="Global.asax.cs" Inherits="ObamPortal.Web.MvcApplication" Language="C#" %>*****
Source File: /global.asax Line: 1
I get this error when I am trying to debug an ASP.NET MVC 4.0 application using Visual Studio 2012. All the recommendations I saw here were for already deployed applications. Mind you, I am using Windows 7 as OS. How can I fix this?
My global.asax.cs is:
using ObamPortals.Core.Domain.Modules;
using ObamPortal.Web.Modules;
namespace ObamPortal.Web
{
// Note: For instructions on enabling IIS6 or IIS7 classic mode,
// visit go.microsoft.com/?LinkId=9394801
public class MvcApplication : System.Web.HttpApplication
{
public override void Init()
{
}
protected void Application_Start()
{
}
}
}
Global.asax.csfile to go with theGlobal.asax? - DavidG