Expected Behavior
Trying to run a simple script
$theme = Get-Item -Path "master:/sitecore/media library/themes/PublicWebsites/Corporate Site/CorporateTheme"
$theme | Publish-Item -Recurse
This should publish the theme and all descendants.
Actual Behavior
A crash with the following message:
Publish-Item : Could not load type 'Sitecore.Jobs.Job' from assembly 'Sitecore.Kernel, Version=13.0.0.0, Culture=neutral, PublicKeyToken=null'.
At line:2 char:10
+ $theme | Publish-Item -Recurse
+ ~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Publish-Item], TypeLoadException
+ FullyQualifiedErrorId : System.TypeLoadException,Cognifide.PowerShell.Commandlets.Data.PublishItemCommand
Steps to Reproduce the Problem
Clean install with:
Sitecore 9.2
Sitecore PowerShell Extensions 5.1.0.19766
SXA 1.9.0 rev. 190528.
Just try to publish an item from PowerShell ISE with Publish-Item command.
Expected Behavior
Trying to run a simple script
This should publish the theme and all descendants.
Actual Behavior
A crash with the following message:
Steps to Reproduce the Problem
Clean install with:
Sitecore 9.2
Sitecore PowerShell Extensions 5.1.0.19766
SXA 1.9.0 rev. 190528.
Just try to publish an item from PowerShell ISE with Publish-Item command.