Last post Feb 16, 2009 06:45 AM by abhilashca
Jun 19, 2007 12:56 AM|devinmccloud|LINK
Hey guys...I can't say enough how greatful I am over all the hard work on these adaptors. The work for me flawlessly! The other day I read a post with a link to codeplex for the binaries. I wanted to add the .dll to my project to test it out. My problem
is that I can't figure out how to properly reference in in the web.config. Declaring it in the page is no problem. How do I get the publickeytoken? Having little knowledge of this I found some tutorials on google for using SN.exe -T e:\CSSFriendly.dll to retrieve
the PubliKeyToken but it says "CSSfriendly.dll does not represent a strongly named assembly". Can any one shed some light on how to reference it properly in the web.config file?
Jun 19, 2007 06:14 PM|devinmccloud|LINK
Am I the only one using the CSSFriendly.dll.
Jun 20, 2007 06:26 PM|neps|LINK
You don't need to add anything on web.config. Just add the bundled .browser file on App_Browsers and the adapters will be used.
Jun 20, 2007 08:23 PM|Sam Russo|LINK
From the home page http://www.codeplex.com/cssfriendly
Instructions are brief for now, but we'll expand on them as soon as possible.
To expand a little:
Create or use existing BIN folder. Drop in the DLL file from Windows Explorer, In Visual Studio right click on BIN->Add Reference...
Make the App_Browsers folder or use existing, drop in the CSSFriendlyAdapters.browser from Windows Explorer, right click on the folder in VS and select Add existing item...
Your existing controls will now be rendered as CSS Friendly versions.
Jun 21, 2007 10:43 PM|devinmccloud|LINK
Well thanks for your replys,
The direction are pretty straight foward for installing the adapters. I've really never had trouble installing them. I was merely trying to learn how to add them to the web.config file. Like this example below. This is an area I know little about. But it's
my understanding that the point of referencing a .dll through the web.config file is to make it available through out the site. Ofcourse it's easy enough to reference it in every page .... but I'm a beginner and trying to learn the best approach.
<add assembly="CssFriendlyAdapters, Version=188.8.131.52, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
Jun 22, 2007 01:11 PM|Sam Russo|LINK
I haven't had to touch the web.config file to use the DLL version of the CSS Friendly controls. I double checked an existing project and there is no such entry in my web.config.
Jun 26, 2007 01:52 AM|devinmccloud|LINK
Well ..I know you don't need to use the web.config file for either project but that's beside the point or my previous question. My question was how to use the web.config file to reference the CssFriendlyAdapters .dll file. I was merely trying to learn how
to set them through the web.config file. The same way you can set any .dll file through the web.config file in your projects.
Feb 16, 2009 06:45 AM|abhilashca|LINK
Here is the solution (its very late reply, I know. Kindli adjust)