0

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.

2
  • Why are you deploying an app_browsers file? Is it to register a control adapter? Oct 30, 2012 at 14:10
  • yes, to be more precise, I'm overriding some native sharepoint controls using control adapters
    – Steve B
    Oct 30, 2012 at 14:31

1 Answer 1

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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