Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

Is there a simple way to deploy a file into the App_Browsers folder of all web applications?

By now, the only way I found is to use a feature receiver that create and fire a custom SPTimerJob that put the file in all web applications...

This works but it looks like rather complicated.

share|improve this question
    
Why are you deploying an app_browsers file? Is it to register a control adapter? –  Bernd Rickenberg Oct 30 '12 at 14:10
    
yes, to be more precise, I'm overriding some native sharepoint controls using control adapters –  Steve B Oct 30 '12 at 14:31
add comment

1 Answer 1

I prefer a solution where you register the control adapters programatically via an HTTP module. That way you can do all the necessary configuration via web.config and there are no deployment issues.

Have a look at this article if that sounds like a way to go: http://www.codeproject.com/Articles/27117/Programmatically-Setting-Control-Adapters-for-URL

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.