I have this problem that's been affecting me for a while:
I use CSSFriendly, with the App_Browsers folder and a CSSFriendlyAdapters.browser file in it.
Everything works fine, but every time I make a change to a source file in the project and rebuild, the App_browsers folder starts getting ignored when the web app is run.
To fix the things, I have to remember to touch the CSSFriendlyAdapters.browser (I ususally insert or delete an empty line) before building. If I fail to do that, same problem.
I've been looking everywhere for a solution. The Web app is set to be compiled with .net 4.0, I don't have an App_Browsers.dll nor a __browserCapabilitiesCompiler.compiled file in my bin folder.
I have tried to clean all my temp folders, but the problem comes back every time.
I was about to write a batch file which touches the CSSFriendlyAdapters.browser file as a pre-build operation, but I tought someone here could help.
Update:
Solved writing the batch file. It worked at first, but some months later this alone isn't enough, I have to restart IIS after each compile as well.
(I also noticed that the App_Browsers.dll and the __browserCapabilitiesCompiler.compiled* files are indeed generated, but they're copied in the asp.net temp directory instead of my bin folder).