Pregunta

I have an ASP.NET MVC4 site with mobile content. When I deploy this on my local development machine, the mobile content is what I see in Opera Mobile when I go to localhost/mysite. However, when I deploy this to my actual server, I see the desktop version on Opera Mobile. I get the same desktop view when visiting the site on my Windows Phone.

I am assuming this is not a DisplayModeProvider issue as site works as expected on local host. What should I be looking at?

Thanks.

¿Fue útil?

Solución

Installed .NET 4.5 RC fixed this problem. I may have missed this somewhere in the documentation that ASP.NET MVC4 requires .NET 4.5.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top