I have an ASP.NET MVC 3 .NET application under Visual web developer Express 2010.
By default it is build as 'Any CPU'. When tested, Environment.Is64BitProcess always returns false (I have Windows 7 64 bit). I tried Stack Overflow question Change target CPU settings in Visual Studio 2010 Express for both x86 and x64, but it always results in an error, something along the lines of:
Cannot load type 'MyApp.UI.MvcApplication'.
and points to the global.asax
file with only one line:
<%@ Application Codebehind="Global.asax.cs" Inherits="MyApp.UI.MvcApplication" Language="C#" %>
How could I fix it?