質問

私は私のWSPをSP 2010サーバーに展開するためのPower Shellスクリプトを書きました。まず、解決策が既にそこにあるかどうかを確認し、yesの場合にデプロイされてから再度再デプロイします。特定のWebアプリケーションにのみ展開します。この問題は「後退」で、再デプロイメントは完了するために年齢を取っています。VS2010から問題はありませんが、そのまま展開します。私は非常に基本的なWSP(ただ1つのWebパーツのみ、そして全く何もしない別の機能受信者のみ)を使っています。だから私はそれがそんなに時間をかけているのかわからない。提案してください。

役に立ちましたか?

解決

When you deploy/retract your solutions using PowerShell/stsadm it creates a timer job. That timer job operation is invoked by the sptimerv4/owstimer.exe process in the background and starts every 60 seconds. Sometimes there are other timer jobs in the queue which makes it take longer times. If you're only doing it on a single machine (dev box) you can add the -Local parameter to the cmdlet, this invokes the job directly.

ライセンス: CC-BY-SA帰属
所属していません sharepoint.stackexchange
scroll top