Closed PrzemyslawKlys closed 4 years ago
Interesting... The last update to the extension should have redistributed that assembly netstandard
...
Can you give me a full dump of what's in this directory?
gci -rec ~/.vscode/extensions/ms-vscode.powershell-preview-2019.11.0/modules/PowerShellEditorServices/bin/
if you use vscode insiders the path will be .vscode-insiders
instead of .vscode
Here you go
PS C:\Users\Administrator\Desktop> gci -rec ~/.vscode/extensions/ms-vscode.powershell-preview-2019.12.0/modules/PowerShellEditorServices/bin/
Directory: C:\Users\Administrator\.vscode\extensions\ms-vscode.powershell-preview-2019.12.0\modules\PowerShellEditorServices\bin
Mode LastWriteTime Length Name
---- ------------- ------ ----
d----- 12/27/2019 12:56 PM Common
d----- 12/27/2019 12:56 PM Core
d----- 12/27/2019 12:56 PM Desktop
Directory: C:\Users\Administrator\.vscode\extensions\ms-vscode.powershell-preview-2019.12.0\modules\PowerShellEditorServices\bin\Common
Mode LastWriteTime Length Name
---- ------------- ------ ----
-a---- 12/27/2019 12:56 PM 9052 libdisablekeyecho.dylib
-a---- 12/27/2019 12:56 PM 8840 libdisablekeyecho.so
-a---- 12/27/2019 12:56 PM 17920 MediatR.dll
-a---- 12/27/2019 12:56 PM 15360 MediatR.Extensions.Microsoft.DependencyInjection.dll
-a---- 12/27/2019 12:56 PM 21064 Microsoft.Bcl.AsyncInterfaces.dll
-a---- 12/27/2019 12:56 PM 302664 Microsoft.CSharp.dll
-a---- 12/27/2019 12:56 PM 21368 Microsoft.Extensions.Configuration.Abstractions.dll
-a---- 12/27/2019 12:56 PM 24952 Microsoft.Extensions.Configuration.Binder.dll
-a---- 12/27/2019 12:56 PM 27000 Microsoft.Extensions.Configuration.dll
-a---- 12/27/2019 12:56 PM 37752 Microsoft.Extensions.DependencyInjection.Abstractions.dll
-a---- 12/27/2019 12:56 PM 64888 Microsoft.Extensions.DependencyInjection.dll
-a---- 12/27/2019 12:56 PM 39288 Microsoft.Extensions.FileSystemGlobbing.dll
-a---- 12/27/2019 12:56 PM 48504 Microsoft.Extensions.Logging.Abstractions.dll
-a---- 12/27/2019 12:56 PM 34168 Microsoft.Extensions.Logging.dll
-a---- 12/27/2019 12:56 PM 50552 Microsoft.Extensions.Options.dll
-a---- 12/27/2019 12:56 PM 38264 Microsoft.Extensions.Primitives.dll
-a---- 12/27/2019 12:56 PM 34682 Microsoft.PowerShell.EditorServices.deps.json
-a---- 12/27/2019 12:56 PM 562048 Microsoft.PowerShell.EditorServices.dll
-a---- 12/27/2019 12:56 PM 147612 Microsoft.PowerShell.EditorServices.pdb
-a---- 12/27/2019 12:56 PM 656384 Newtonsoft.Json.dll
-a---- 12/27/2019 12:56 PM 89600 OmniSharp.Extensions.DebugAdapter.dll
-a---- 12/27/2019 12:56 PM 6656 OmniSharp.Extensions.DebugAdapter.Server.dll
-a---- 12/27/2019 12:56 PM 70656 OmniSharp.Extensions.JsonRpc.dll
-a---- 12/27/2019 12:56 PM 182272 OmniSharp.Extensions.LanguageProtocol.dll
-a---- 12/27/2019 12:56 PM 78336 OmniSharp.Extensions.LanguageServer.dll
-a---- 12/27/2019 12:56 PM 126464 Serilog.dll
-a---- 12/27/2019 12:56 PM 15872 Serilog.Extensions.Logging.dll
-a---- 12/27/2019 12:56 PM 9216 Serilog.Sinks.Async.dll
-a---- 12/27/2019 12:56 PM 28160 Serilog.Sinks.File.dll
-a---- 12/27/2019 12:56 PM 27992 System.Buffers.dll
-a---- 12/27/2019 12:56 PM 81040 System.ComponentModel.Annotations.dll
-a---- 12/27/2019 12:56 PM 22432 System.IO.FileSystem.Primitives.dll
-a---- 12/27/2019 12:56 PM 27280 System.IO.Pipes.AccessControl.dll
-a---- 12/27/2019 12:56 PM 148720 System.Memory.dll
-a---- 12/27/2019 12:56 PM 163712 System.Numerics.Vectors.dll
-a---- 12/27/2019 12:56 PM 1246648 System.Reactive.dll
-a---- 12/27/2019 12:56 PM 16968 System.Runtime.CompilerServices.Unsafe.dll
-a---- 12/27/2019 12:56 PM 22840 System.Runtime.InteropServices.WindowsRuntime.dll
-a---- 12/27/2019 12:56 PM 54416 System.Security.AccessControl.dll
-a---- 12/27/2019 12:56 PM 21736 System.Security.Principal.dll
-a---- 12/27/2019 12:56 PM 33656 System.Security.Principal.Windows.dll
-a---- 12/27/2019 12:56 PM 33008 System.Threading.Tasks.Extensions.dll
-a---- 12/27/2019 12:56 PM 4096 UnixConsoleEcho.dll
Directory: C:\Users\Administrator\.vscode\extensions\ms-vscode.powershell-preview-2019.12.0\modules\PowerShellEditorServices\bin\Core
Mode LastWriteTime Length Name
---- ------------- ------ ----
-a---- 12/27/2019 12:56 PM 37157 Microsoft.PowerShell.EditorServices.Hosting.deps.json
-a---- 12/27/2019 12:56 PM 59256 Microsoft.PowerShell.EditorServices.Hosting.dll
-a---- 12/27/2019 12:56 PM 11280 Microsoft.PowerShell.EditorServices.Hosting.pdb
Directory: C:\Users\Administrator\.vscode\extensions\ms-vscode.powershell-preview-2019.12.0\modules\PowerShellEditorServices\bin\Desktop
Mode LastWriteTime Length Name
---- ------------- ------ ----
-a---- 12/27/2019 12:56 PM 59776 Microsoft.PowerShell.EditorServices.Hosting.dll
-a---- 12/27/2019 12:56 PM 11212 Microsoft.PowerShell.EditorServices.Hosting.pdb
-a---- 12/27/2019 12:56 PM 14416 Microsoft.Win32.Primitives.dll
-a---- 12/27/2019 12:56 PM 98616 netstandard.dll
-a---- 12/27/2019 12:56 PM 14408 System.AppContext.dll
-a---- 12/27/2019 12:56 PM 14200 System.Collections.Concurrent.dll
-a---- 12/27/2019 12:56 PM 14712 System.Collections.dll
-a---- 12/27/2019 12:56 PM 14200 System.Collections.NonGeneric.dll
-a---- 12/27/2019 12:56 PM 14200 System.Collections.Specialized.dll
-a---- 12/27/2019 12:56 PM 14416 System.ComponentModel.dll
-a---- 12/27/2019 12:56 PM 14712 System.ComponentModel.EventBasedAsync.dll
-a---- 12/27/2019 12:56 PM 14712 System.ComponentModel.Primitives.dll
-a---- 12/27/2019 12:56 PM 15736 System.ComponentModel.TypeConverter.dll
-a---- 12/27/2019 12:56 PM 14200 System.Console.dll
-a---- 12/27/2019 12:56 PM 147320 System.Data.Common.dll
-a---- 12/27/2019 12:56 PM 14712 System.Diagnostics.Contracts.dll
-a---- 12/27/2019 12:56 PM 14200 System.Diagnostics.Debug.dll
-a---- 12/27/2019 12:56 PM 14200 System.Diagnostics.FileVersionInfo.dll
-a---- 12/27/2019 12:56 PM 14712 System.Diagnostics.Process.dll
-a---- 12/27/2019 12:56 PM 16760 System.Diagnostics.StackTrace.dll
-a---- 12/27/2019 12:56 PM 14200 System.Diagnostics.TextWriterTraceListener.dll
-a---- 12/27/2019 12:56 PM 14200 System.Diagnostics.Tools.dll
-a---- 12/27/2019 12:56 PM 14928 System.Diagnostics.TraceSource.dll
-a---- 12/27/2019 12:56 PM 24440 System.Diagnostics.Tracing.dll
-a---- 12/27/2019 12:56 PM 14200 System.Drawing.Primitives.dll
-a---- 12/27/2019 12:56 PM 15440 System.Dynamic.Runtime.dll
-a---- 12/27/2019 12:56 PM 14712 System.Globalization.Calendars.dll
-a---- 12/27/2019 12:56 PM 14200 System.Globalization.dll
-a---- 12/27/2019 12:56 PM 18808 System.Globalization.Extensions.dll
-a---- 12/27/2019 12:56 PM 103800 System.IO.Compression.dll
-a---- 12/27/2019 12:56 PM 14200 System.IO.Compression.ZipFile.dll
-a---- 12/27/2019 12:56 PM 14200 System.IO.dll
-a---- 12/27/2019 12:56 PM 14416 System.IO.FileSystem.dll
-a---- 12/27/2019 12:56 PM 14200 System.IO.FileSystem.DriveInfo.dll
-a---- 12/27/2019 12:56 PM 14416 System.IO.FileSystem.Watcher.dll
-a---- 12/27/2019 12:56 PM 14200 System.IO.IsolatedStorage.dll
-a---- 12/27/2019 12:56 PM 14200 System.IO.MemoryMappedFiles.dll
-a---- 12/27/2019 12:56 PM 14200 System.IO.Pipes.dll
-a---- 12/27/2019 12:56 PM 14200 System.IO.UnmanagedMemoryStream.dll
-a---- 12/27/2019 12:56 PM 14200 System.Linq.dll
-a---- 12/27/2019 12:56 PM 15224 System.Linq.Expressions.dll
-a---- 12/27/2019 12:56 PM 14200 System.Linq.Parallel.dll
-a---- 12/27/2019 12:56 PM 14200 System.Linq.Queryable.dll
-a---- 12/27/2019 12:56 PM 191352 System.Net.Http.dll
-a---- 12/27/2019 12:56 PM 14200 System.Net.NameResolution.dll
-a---- 12/27/2019 12:56 PM 15224 System.Net.NetworkInformation.dll
-a---- 12/27/2019 12:56 PM 14200 System.Net.Ping.dll
-a---- 12/27/2019 12:56 PM 15224 System.Net.Primitives.dll
-a---- 12/27/2019 12:56 PM 14200 System.Net.Requests.dll
-a---- 12/27/2019 12:56 PM 14712 System.Net.Security.dll
-a---- 12/27/2019 12:56 PM 23416 System.Net.Sockets.dll
-a---- 12/27/2019 12:56 PM 14200 System.Net.WebHeaderCollection.dll
-a---- 12/27/2019 12:56 PM 14200 System.Net.WebSockets.Client.dll
-a---- 12/27/2019 12:56 PM 14200 System.Net.WebSockets.dll
-a---- 12/27/2019 12:56 PM 14712 System.ObjectModel.dll
-a---- 12/27/2019 12:56 PM 15224 System.Reflection.dll
-a---- 12/27/2019 12:56 PM 14200 System.Reflection.Extensions.dll
-a---- 12/27/2019 12:56 PM 14712 System.Reflection.Primitives.dll
-a---- 12/27/2019 12:56 PM 14200 System.Resources.Reader.dll
-a---- 12/27/2019 12:56 PM 14200 System.Resources.ResourceManager.dll
-a---- 12/27/2019 12:56 PM 14200 System.Resources.Writer.dll
-a---- 12/27/2019 12:56 PM 14712 System.Runtime.CompilerServices.VisualC.dll
-a---- 12/27/2019 12:56 PM 22392 System.Runtime.dll
-a---- 12/27/2019 12:56 PM 14712 System.Runtime.Extensions.dll
-a---- 12/27/2019 12:56 PM 14200 System.Runtime.Handles.dll
-a---- 12/27/2019 12:56 PM 17272 System.Runtime.InteropServices.dll
-a---- 12/27/2019 12:56 PM 21368 System.Runtime.InteropServices.RuntimeInformation.dll
-a---- 12/27/2019 12:56 PM 14200 System.Runtime.Numerics.dll
-a---- 12/27/2019 12:56 PM 14200 System.Runtime.Serialization.Formatters.dll
-a---- 12/27/2019 12:56 PM 14200 System.Runtime.Serialization.Json.dll
-a---- 12/27/2019 12:56 PM 19832 System.Runtime.Serialization.Primitives.dll
-a---- 12/27/2019 12:56 PM 17784 System.Runtime.Serialization.Xml.dll
-a---- 12/27/2019 12:56 PM 14200 System.Security.Claims.dll
-a---- 12/27/2019 12:56 PM 39800 System.Security.Cryptography.Algorithms.dll
-a---- 12/27/2019 12:56 PM 14200 System.Security.Cryptography.Csp.dll
-a---- 12/27/2019 12:56 PM 14200 System.Security.Cryptography.Encoding.dll
-a---- 12/27/2019 12:56 PM 14920 System.Security.Cryptography.Primitives.dll
-a---- 12/27/2019 12:56 PM 15736 System.Security.Cryptography.X509Certificates.dll
-a---- 12/27/2019 12:56 PM 15224 System.Security.SecureString.dll
-a---- 12/27/2019 12:56 PM 14712 System.Text.Encoding.dll
-a---- 12/27/2019 12:56 PM 14200 System.Text.Encoding.Extensions.dll
-a---- 12/27/2019 12:56 PM 14200 System.Text.RegularExpressions.dll
-a---- 12/27/2019 12:56 PM 15224 System.Threading.dll
-a---- 12/27/2019 12:56 PM 30584 System.Threading.Overlapped.dll
-a---- 12/27/2019 12:56 PM 15432 System.Threading.Tasks.dll
-a---- 12/27/2019 12:56 PM 14200 System.Threading.Tasks.Parallel.dll
-a---- 12/27/2019 12:56 PM 14416 System.Threading.Thread.dll
-a---- 12/27/2019 12:56 PM 14200 System.Threading.ThreadPool.dll
-a---- 12/27/2019 12:56 PM 14200 System.Threading.Timer.dll
-a---- 12/27/2019 12:56 PM 78992 System.ValueTuple.dll
-a---- 12/27/2019 12:56 PM 14712 System.Xml.ReaderWriter.dll
-a---- 12/27/2019 12:56 PM 14712 System.Xml.XDocument.dll
-a---- 12/27/2019 12:56 PM 14712 System.Xml.XmlDocument.dll
-a---- 12/27/2019 12:56 PM 14712 System.Xml.XmlSerializer.dll
-a---- 12/27/2019 12:56 PM 14416 System.Xml.XPath.dll
-a---- 12/27/2019 12:56 PM 15952 System.Xml.XPath.XDocument.dll
Interesting. It's definitely in there...
Naturally the workaround for this is:
But @rjmholt explicitly wanted to fix this scenario with the last Preview so maybe something was missed there
I'm okay with workarounds (at least 2nd one) - it would be nice to have a graceful message, rather than a crash.
I'm going to look into this, since it's unexpected. We might also be able to catch certain assembly load exceptions if they're thrown in the right way, but I can't guarantee anything until I've had a look.
Experienced the very same issue today on a fresh install, Windows Server 2016. I'll now try the workaround of installing .NET Framework 4.7.2 or higher.
Version: 1.42.0-insider (system setup)
Commit: cba31b819ea99836daf51cee56299348e9c6d20b
Date: 2020-01-08T05:39:25.874Z
Electron: 6.1.6
Chrome: 76.0.3809.146
Node.js: 12.4.0
V8: 7.6.303.31-electron.0
OS: Windows_NT x64 10.0.14393
I've have a fix for this, linked above and have tested it on Windows Server 2016 with .NET 4.6.2 and .NET 4.7.0. So this should be fixed in the next release.
Issue Description
I am experiencing a problem with...
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
PowerShell Information
Visual Studio Code Extensions
Visual Studio Code Extensions(Click to Expand)
|Extension|Author|Version| |---|---|---| |powershell-preview|ms-vscode|2019.12.0|