ASP.NET MVC HttpApplication not found

Posted on: March 8, 2008

I’m not sure if this only applies to me, but I discovered this little annoyance after downloading the latest ASP.NET MVC CTP. After creating a new project with a test project, sometimes hitting F5 results in the following message:

 Error 1 The type or namespace name ‘HttpApplication’ does not exist in the namespace ‘System.Web’ (are you missing an assembly reference?) […]\Global.asax.cs 12 49 Mvc_b1_Tests

This can easily be solved of course, just add a reference to System.Web in the test project and it will compile and run just fine…

Just thought I’d mention it :)


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


This blog has no clear focus. It has a focus though, it's just not very clear at the moment...

Dev Env.

Visual Studio 2008 Prof / NUnit / Gallio / csUnit / STools (ExactMagic) / doxygen / dxCore / TypeMock / TestDriven.net / SequenceViz / CLRProfiler / Snoop / Reflector / Mole / FxCop / Subversion / TortoiseSVN / SlikSVN / CruiseControl.net / msbuild / nant

Blog Stats

  • 81,593 hits