Welcome to MSDN Blogs Sign in | Join | Help

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
Published Wednesday, March 28, 2007 4:53 PM by Jonas Deibe

Comments

# CRM 4.0 Plugin Example a simple "Logger"

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

Monday, November 05, 2007 1:57 PM by Jonas Deibe - Dynamics CRM, C#, JS
Anonymous comments are disabled
 
Page view tracker