Last post Feb 21, 2012 07:39 AM by Sam Johns
Feb 16, 2012 07:33 AM|PhilDulac|LINK
I'm trying to update the browser caps using the ".browser" files. So far, I found this project on CodePlex that provides updated files:
From the Visual Studio 2008 command promt, I ran the command "aspnet_regbrowsers -i" wich creates an assembly and installs it in the GAC.
So far so good, the updated definitions take effect in my asp.net application.
The question is, is it possible tu use that assembly outside the GAC, like add it as reference in a Web application (I tried it and unless I'm doing something wrong, it doesn't work)?
I'm aware of the "App_Browser" folder solution, but I'm looking for a solution that will ensure the same browsers definitions for several web application without having to put an assembly in the GAC.
Thanks in advance for your answers!
Feb 20, 2012 02:22 AM|Dino He - MSFT|LINK
Yes I think it could work.
You can get this dll copy to your programe, and reference it.
And you can use regsvcs (http://msdn.microsoft.com/en-us/library/04za0hca.aspx) with /appdir parameter to specify explicitly where the app is located.
Hope it helpful.
Feb 21, 2012 07:39 AM|Sam Johns|LINK
It can work outside Global Assembly cache. YOu have to provide it's reference.