开发者

Working on a 64-bit MVC3 application, Razor views cannot load models due to incorrect format

开发者 https://www.devze.com 2023-03-30 02:20 出处:网络
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 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.

0

精彩评论

暂无评论...
验证码 换一张
取 消