Update: The question is updated after finding out what causes ASP.NET/Razor errors.
I have an ASP.NET MVC3 project that references a C ++ / CLI project that is configured to compile as x64 because it must run on Windows Azure (there is no AnyCPU setting for C ++ / CLI).
The problem is that as soon as I configure the parameters of the C ++ / CLI project platform on x64 (in Build-> Configuration Manager), build a solution, then open a random view that I get a warning about ASP.NET trying to load the wrong assembly format followed by a bunch of errors caused by Razor syntax errors.
Screenshot from some random preview:

Screenshot of the log:

:
: ASP.NET: "LZGEncoder" . .
, , ++/CLI , , ( IntelliSense " Razor).
reset ++/CLI Win32, , , , , - MVC3.
ASP.NET - ? ( Azure), , VS2010. .
Update:
#, C, P/Invoke, , ++/CLI, , .
, MVC3/Razor VS2010, .