Tell me more ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I'm working on some kind of deployment timer job at the moment. Deploying, Retracting and so on works fine... At the moment the job grabs all solutions to deploy, add and retract them if neccessary. After that he goes through every solution and deploy it:

foreach (Solution solution in _solutions)
{
    SPFarm.Local.Solutions[solution.FileName].DeployLocal(solution.ContainsWebResources, true);
}

This procedere is quite fast, but at the end of the loop the server is still deploying. For every single solution he is up... and down... and up... and so on. Now my question is: Is there any way I can start the deployment/retraction process for more than one solution? So the server goes down only once, and comes back when he's ready?

I'm sorry, I don't know how to describe it that well... Hope you understand what I mean.

share|improve this question

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

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

Browse other questions tagged or ask your own question.