You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
PowerShell-6.2.0-preview.2-win-x64 error on startup (also occurs on upgrade to preview.3) #8289
Error:
An assembly specified in the application dependencies manifest (pwsh.deps.json) was not found:
package: 'System.Private.ServiceModel', version: '4.5.3'
path: 'runtimes/win/lib/netstandard2.0/System.Private.ServiceModel.dll'
I am having the same problem after an upgrade using the chocolatey package I created for preview. I will avoid updating the chocolatey.org repo until this is fixed so that I don't get lotsa complaints ;)
This seems to be an upgrade problem only (I could reproduce when upgrading from 6.2-preview1 to 6.2-preview1). Uninstalling and reinstalling is fine and fixes it
That's right - I forgot.
What if your team published a ps1 inside the preview folder that "self-installs" - basically does all the little things the MSI does?
This way we could unzip + run self-install and be done.
This would seem to be easy:
to design and build - last I checked the MSI install was simple (might have changed) and the preview should actually be less integrated anyway
for the powershell team to leave out unapplicable stuff like adding to the path
easy for people doing self-installers or wrapping in other packaging technologies to get right
easy for the preview chocolatey package to leverage
Activity
kborowinski commentedon Nov 16, 2018
Workaround:
Run the installer again and use repair function. It will fix the problem.
najeebanwer commentedon Nov 16, 2018
Kris Borowinski (@kborowinski):
Yes, that works. Thanks.
However, it should work after the initial installation and not require a repair.
DarwinJS commentedon Nov 16, 2018
I am having the same problem after an upgrade using the chocolatey package I created for preview. I will avoid updating the chocolatey.org repo until this is fixed so that I don't get lotsa complaints ;)
bergmeister commentedon Nov 16, 2018
This seems to be an upgrade problem only (I could reproduce when upgrading from
6.2-preview1to6.2-preview1). Uninstalling and reinstalling is fine and fixes itAgazoth commentedon Nov 16, 2018
I had the same issue upgrading using the msi file on W10.
iSazonov commentedon Nov 16, 2018
/cc Steve Lee (@SteveL-MSFT)
SteveL-MSFT commentedon Nov 18, 2018
Will investigate next week
damianog commentedon Nov 27, 2018
Same issue to me from 6.2-preview1 to 6.2-preview2 msi installation
SteveL-MSFT commentedon Dec 7, 2018
Preview.3 is coming out next week, so will wait to see if this repros.
DarwinJS commentedon Dec 11, 2018
It is sort of reproing - though I am going over 6.2 preview 3 and it is a different error:

And as with preview 2, uninstall and reinstall works fine.
MaximoTrinidad commentedon Dec 11, 2018
Can someone post which build of Windows 10 got the PowerShell Core error??
:)
DarwinJS commentedon Dec 11, 2018
10.0.17134
12 remaining items
DarwinJS commentedon Dec 20, 2018
Maybe use a simple zip - with the assumption of file overwrites - for the preview?
SteveL-MSFT commentedon Dec 20, 2018
Darwin (@DarwinJS) if you use the zip pkg we already release, you already won't have this problem, it's specifically the MSI pkg
DarwinJS commentedon Dec 20, 2018
That's right - I forgot.
What if your team published a ps1 inside the preview folder that "self-installs" - basically does all the little things the MSI does?
This way we could unzip + run self-install and be done.
This would seem to be easy:
Enable install of Preview MSI release side-by-side with Stable release (
Enable install of Preview MSI release side-by-side with Stable release (