Browser definition files are located in, C:\WINDOWS\Microsoft.NET\Framework\
To add a custom browser definition file, copy the *.browser file to the above location and run Aspnet_regbrowsers.exe tool.
You can add custom browser files in App_Browsers folder in ASP.NET web site as well.
this is a bad idea because the files will be overwritten every time the framework is updated; you will just lose the changes and have to manually keep track of it.
ReplyDeleteInstead, you can right click on your project > add > asp.net folder > App_Browser and then right click on App_Browser that you just added and select Add new file, call it generic.browser or whatever else you may want to call it and specify your changes there, so it will always stay as a part of the project..
Thank you very much bendekay. That is excellent information.
ReplyDelete