Skip to content

[Preview] Clean Preview install on Windows 2016 - Exception encountered starting EditorServices #2393

Closed
PowerShell/PowerShellEditorServices
#1151
@PrzemyslawKlys

Description

@PrzemyslawKlys

Issue Description

I am experiencing a problem with...

Exception encountered starting EditorServices. Exception logged in D:\a\1\s\src\
PowerShellEditorServices.Hosting\Commands\StartEditorServicesCommand.cs on line
221 in EndProcessing:
System.AggregateException: One or more errors occurred. ---> System.IO.FileNotFo
undException: Could not load file or assembly 'netstandard, Version=2.0.0.0, Cul
ture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. The s
ystem cannot find the file specified.
   at Microsoft.PowerShell.EditorServices.Hosting.EditorServicesLoader.LoadEdito
rServices()
   at Microsoft.PowerShell.EditorServices.Hosting.EditorServicesLoader.<LoadAndR
unEditorServicesAsync>d__9.MoveNext()
   --- End of inner exception stack trace ---
   at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceled
Exceptions)
   at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationTo
ken cancellationToken)
   at Microsoft.PowerShell.EditorServices.Commands.StartEditorServicesCommand.En
dProcessing()
---> (Inner Exception #0) System.IO.FileNotFoundException: Could not load file o
r assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13
ffcd2ddd51' or one of its dependencies. The system cannot find the file specifie
d.
File name: 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13
ffcd2ddd51'
   at Microsoft.PowerShell.EditorServices.Hosting.EditorServicesLoader.LoadEdito
rServices()
   at Microsoft.PowerShell.EditorServices.Hosting.EditorServicesLoader.<LoadAndR
unEditorServicesAsync>d__9.MoveNext()

dProcessing()
---> (Inner Exception #0) System.IO.FileNotFoundException: Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. The system cannot find the file specified.
File name: 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'
   at Microsoft.PowerShell.EditorServices.Hosting.EditorServicesLoader.LoadEditorServices()
   at Microsoft.PowerShell.EditorServices.Hosting.EditorServicesLoader.<LoadAndRunEditorServicesAsync>d__9.MoveNext()

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
<---


== Press any key to close terminal ==

It's a test Domain Controller and I wanted to test something out. First time install, straight install of Preview Extension, and only that extension.

Attached Logs

Follow the instructions in the README about
capturing and sending logs.

Environment Information

Visual Studio Code

Name Version
Operating System Windows_NT x64 10.0.14393
VSCode 1.41.1
PowerShell Extension Version 2019.12.0

PowerShell Information

Name Value
PSVersion 5.1.14393.3383
PSEdition Desktop
PSCompatibleVersions 1.0 2.0 3.0 4.0 5.0 5.1.14393.3383
BuildVersion 10.0.14393.3383
CLRVersion 4.0.30319.42000
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1

Visual Studio Code Extensions

Visual Studio Code Extensions(Click to Expand)
Extension Author Version
powershell-preview ms-vscode 2019.12.0

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions