Use Build events to recycle application pool (instead of IISRESET)


When working with callouts or any assembly development that needs IISRESET

For CRM 3.0:

Prebuild

cscript C:\Inetpub\AdminScripts\adsutil.vbs stop_server W3svc/AppPools/CRMAppPool

cscript C:\Inetpub\AdminScripts\adsutil.vbs start_server W3svc/AppPools/CRMAppPool

Postbuild

xcopy “$(TargetPath)” “C:\Program Files\Microsoft CRM\Server\bin\assembly” /y

For sharepoint portal:

Prebuild

cscript C:\Inetpub\AdminScripts\adsutil.vbs stop_server W3svc/AppPools/MSSharePointPortalAppPool

cscript C:\Inetpub\AdminScripts\adsutil.vbs start_server W3svc/AppPools/MSSharePointPortalAppPool

For WSS:

Prebuild

cscript C:\Inetpub\AdminScripts\adsutil.vbs stop_server W3svc/AppPools/MSSharePointAppPool

cscript C:\Inetpub\AdminScripts\adsutil.vbs start_server W3svc/AppPools/MSSharePointAppPool


Comments (1)

  1. In CRM 3.0 callouts was the business extension and in 4.0 its name changed to Plugins. Still it’s the