Le contexte
Vous développer une application SharePoint 2010 à l’aide de Visual Studio 2010 sur un serveur Windows 2008 64 bits. Vous désirer rouler un script post-déploiement (Powershell par exemple) pour déboguer:
Le problème
Lorsque vous y mettez un script, par exemple:
`powershell $(ProjectDir)\PowerShellScript\MonSuperScriptPowerShell.ps1`
Vous obtenez toujours une erreur lors de l’exécution du script:
Error occurred in deployment step ‘Run Post-Deployment Command’: The command "powershell $(ProjectDir)\PowerShellScript\MonSuperScriptPowerShell.ps1" exited with error code: 1.
[Lire]



![vs_lightswitch_beta_logo[1] vs_lightswitch_beta_logo\[1\]](/img/vs_lightswitch_beta_logo%5B1%5D_thumb.png)
