Home

Apr 22, 2010

Save Time while Plug-in development with PostBuild Scripts

image 

It will reset the IIS
1: call iisreset
It will copy the dll in assembly folder of CRM server 
2: xcopy "$(TargetPath)"  "C:\[CRM INSTALL FOLDER]\Server\bin\assembly" /i /d /y
It will copy the pdb file in assembly folder of CRM server 
3: xcopy "$(TargetDir)$(TargetName).pdb" "C:\[CRM INSTALL FOLDER]\Server\bin\assembly" /i /d /y  
 
Here is a sample build script
 
call iisreset
xcopy "$(TargetPath)"  "C:\Program Files\Microsoft Dynamics CRM\Server\bin\assembly" /i /d /y 
xcopy "$(TargetDir)$(TargetName).pdb" "C:\Program Files\Microsoft Dynamics CRM\Server\bin\assembly" /i /d /y  

Jah ho CRM,

Amol

No comments: