Precondition:
my.wsp is deployed as farm solution with -GacDeployment parameter. my.dll is in GAC.
- New feature is added to
my.wsp with feature receiver. Package version isn't incremented, neither does assembly/file versions.
- When redeploy.bat is executed, uninstall-remove
my.wsp worked fine, but add-install 'my.wsp' is exited with error in
The Execute method of job definition "SPSolutionDeploymentJobDefinition" threw an exception.
Failed to create receiver object from assembly **ommited**
System.ArgumentNullException at System.Activator.CreateInstance(Type type, Boolean nonPublic)
Solution: If restart-service SPTimerV4 is called before installing new version of my.wsp then it is completed successfully.
Precondition:
my.wspis deployed as farm solution with-GacDeploymentparameter.my.dllis in GAC.my.wspwith feature receiver. Package version isn't incremented, neither does assembly/file versions.my.wspworked fine, but add-install 'my.wsp' is exited with error inSolution: If
restart-service SPTimerV4is called before installing new version ofmy.wspthen it is completed successfully.