Solved: see EDIT
I have a .browser file in my App_Browsers folder that detects Firefox on Android. When I publish the site to an Azure web role (under a Cloud Service) my App_Browsers folder doesn't show up on the web role and the site will not detect Android Firefox correctly.
If I manually place this App_Browsers folder on the web role it works as expected and detects Android Firefox just fine.
What am I missing that is preventing this folder from being published to the web role correctly? I am using VS 2015 and MVC 4.5.
Thanks
EDIT: Found that the simple solution was that the .browser file inside the App_Browsers folder was not set with a build action and was not set to copy always.
发现简单的解决方案是App_Browsers文件夹中的.browser文件未设置为生成操作,并且未设置为始终复制。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.