Working on a 64-bit MVC3 application, Razor views cannot load models due to incorrect format
I am coding a 64-bit MVC3 application, and all my views are showing an errors when I am editing them. The reason is VS2010 开发者_高级运维could not load the view models due a bad image format.
I suppose this is due to VS2010 being a 32-bit application. Is there anyway round the problem>
I believe the issue is that Visual Studio is using the 32-bit MSBuild to compile the Razor views in realtime. I've tried to override it to use 64-bit MSBuild with no luck.
精彩评论