Error:
Activate-Feature : Error activating feature …<featurename>……… at …<siteURl>……..The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
PowerShell スクリプトを使用して WSP ソリューションを撤回および展開するときに問題が発生しました。WSP は正常に展開されますが、イベント レシーバーを使用して機能を有効にできませんでした。以下のようにサービスを開始しています。
Stop-Service -Name “SPAdminV4”
Start-SPAdminJob
Start-Service -Name SPAdminV4
WaitForSolutionDeploymentJobToFinish $name
注:撤回/展開の代わりに新しい展開を行っても、問題は見つかりませんでした。
別のスクリプトでソリューションを撤回し、新しいpowershellインスタンスで展開を行うと、ファイルが機能します
調査中に次の参考文献を見つけました : http://sisharepoint.wordpress.com/2010/03/26/getting-around-gac-problems-when-you-deploy-sharepoint-solutions-with-powershell/ blogs.msdn.com/b/briangre/archive/2011/02/17/sharepoint-2010-visual-studio-solution-deploy-deployment.aspx
この問題を解決するために私を導いてください