vscode-csharp: [Windows] DebugAdapter bin folder not found on path

DebugAdapter bin folder not found on path C:/…/.vscode/extensions/ms-vscode.csharp-0.3.7/coreclr-debug/debugAdapters/OpenDebugAD7.exe.

Dotnet-Cli info: OS: Windows 10 dotnet-cli: Version: 1.0.0-beta-001598 Commit Sha: 7582649f88

This is on a brand new install of VSCode. Works in linux.

error: The supplied user buffer is not valid for the requested operation
dotnet exited with error code 1
Error while installing .NET Core Debugger.

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Comments: 17 (9 by maintainers)

Most upvoted comments

Downloading and configuring the .NET Core Debugger… log : Restoring packages for C:\Users\Zushun.vscode\extensions\ms-vscode.csharp-0.3.7\coreclr-debug\project.json… info : Committing restore… log : Lock file has not changed. Skipping lock file write. Path: C:\Users\Zushun.vscode\extensions\ms-vscode.csharp-0.3.7\coreclr-debug\project.lock.json log : C:\Users\Zushun.vscode\extensions\ms-vscode.csharp-0.3.7\coreclr-debug\project.json log : Restore completed in 2072ms.

NuGet Config files used: C:\Users\Zushun.vscode\extensions\ms-vscode.csharp-0.3.7\coreclr-debug\NuGet.config

Feeds used: https://www.myget.org/F/dotnet-core/api/v3/index.json https://api.nuget.org/v3/index.json https://www.myget.org/F/coreclr-debug/api/v3/index.json Publishing dummy for DNXCore,Version=v5.0 Project dummy (DNXCore,Version=v5.0) was previously compiled. Skipping compilation. Publishing dummy 1.0.0 … Publishing Microsoft.CSharp 4.0.1-rc3-23829 … Publishing Microsoft.DotNet.CoreHost 0.0.1-beta-00001 … Publishing Microsoft.NETCore.Platforms 1.0.1-rc3-23829 … Publishing Microsoft.NETCore.Runtime 1.0.2-rc3-23829 … Publishing Microsoft.NETCore.Runtime.CoreCLR 1.0.2-rc3-23829 … Publishing Microsoft.NETCore.Runtime.Native 1.0.2-rc3-23829 … Publishing Microsoft.NETCore.Targets 1.0.1-rc3-23829 … Publishing Microsoft.NETCore.Targets.DNXCore 5.0.0-rc3-23829 … Publishing Microsoft.NETCore.Windows.ApiSets 1.0.1-rc3-23829 … Publishing Microsoft.VisualStudio.clrdbg 14.0.25109-preview-2865786 … Publishing Microsoft.VisualStudio.clrdbg.MIEngine 14.0.30309-preview-2 … Publishing Microsoft.VisualStudio.Debugger.Interop.Portable 1.0.1 … Publishing Microsoft.VisualStudio.OpenDebugAD7 1.0.20308-preview-1 … Publishing Microsoft.Win32.Primitives 4.0.1-rc3-23829 … Publishing NETStandard.Library 1.0.0-rc3-23829 … Publishing NETStandard.Platform 1.0.0-rc3-23829 … Publishing Newtonsoft.Json 7.0.1 … Publishing System.AppContext 4.1.0-rc3-23829 … Publishing System.Collections 4.0.11-rc3-23829 … Publishing System.Collections.Concurrent 4.0.12-rc3-23829 … Publishing System.Collections.Immutable 1.2.0-rc3-23829 … Publishing System.Collections.NonGeneric 4.0.1-rc3-23829 … Publishing System.Collections.Specialized 4.0.1-rc3-23829 … Publishing System.ComponentModel 4.0.1-rc3-23829 … Publishing System.ComponentModel.Annotations 4.1.0-rc3-23829 … Publishing System.ComponentModel.EventBasedAsync 4.0.11-rc3-23829 … Publishing System.Console 4.0.0-rc3-23829 … Publishing System.Diagnostics.Contracts 4.0.1-rc3-23829 … Publishing System.Diagnostics.Debug 4.0.11-rc3-23829 … Publishing System.Diagnostics.Process 4.1.0-rc3-23829 … Publishing System.Diagnostics.StackTrace 4.0.1-rc3-23829 … Publishing System.Diagnostics.Tools 4.0.1-rc3-23829 … Publishing System.Diagnostics.Tracing 4.1.0-rc3-23829 … Publishing System.Dynamic.Runtime 4.0.11-rc3-23829 … Publishing System.Globalization 4.0.11-rc3-23829 … Publishing System.Globalization.Calendars 4.0.1-rc3-23829 … Publishing System.Globalization.Extensions 4.0.1-rc3-23829 … Publishing System.IO 4.1.0-rc3-23829 … Publishing System.IO.FileSystem 4.0.1-rc3-23829 … Publishing System.IO.FileSystem.Primitives 4.0.1-rc3-23829 … Publishing System.Linq 4.1.0-rc3-23829 … Publishing System.Linq.Expressions 4.0.11-rc3-23829 … Publishing System.Net.Http 4.0.1-rc3-23829 … Publishing System.Net.Primitives 4.0.11-rc3-23829 … Publishing System.Net.Sockets 4.1.0-rc3-23829 … Publishing System.ObjectModel 4.0.11-rc3-23829 … Publishing System.Reflection 4.1.0-rc3-23829 … Publishing System.Reflection.Emit 4.0.1-rc3-23829 … Publishing System.Reflection.Emit.ILGeneration 4.0.1-rc3-23829 … Publishing System.Reflection.Extensions 4.0.1-rc3-23829 … Publishing System.Reflection.Primitives 4.0.1-rc3-23829 … Publishing System.Reflection.TypeExtensions 4.1.0-rc3-23829 … Publishing System.Resources.ResourceManager 4.0.1-rc3-23829 … Publishing System.Runtime 4.1.0-rc3-23829 … Publishing System.Runtime.Extensions 4.1.0-rc3-23829 … Publishing System.Runtime.Handles 4.0.1-rc3-23829 … Publishing System.Runtime.InteropServices 4.1.0-rc3-23829 … Publishing System.Runtime.InteropServices.PInvoke 4.0.0-rc3-23829 … Publishing System.Runtime.InteropServices.RuntimeInformation 4.0.0-rc3-23829 … Publishing System.Runtime.Numerics 4.0.1-rc3-23829 … Publishing System.Runtime.Serialization.Primitives 4.1.0-rc3-23829 … Publishing System.Security.Cryptography.Algorithms 4.0.0-rc3-23829 … Publishing System.Security.Cryptography.Primitives 4.0.0-rc3-23829 … Publishing System.Text.Encoding 4.0.11-rc3-23829 … Publishing System.Text.Encoding.Extensions 4.0.11-rc3-23829 … Publishing System.Text.RegularExpressions 4.0.12-rc3-23829 … Publishing System.Threading 4.0.11-rc3-23829 … Publishing System.Threading.Tasks 4.0.11-rc3-23829 … Publishing System.Threading.Tasks.Dataflow 4.6.0-rc3-23829 … Publishing System.Threading.Tasks.Extensions 4.0.0-rc3-23829 … Publishing System.Threading.Tasks.Parallel 4.0.1-rc3-23829 … Publishing System.Threading.Thread 4.0.0-rc3-23829 … Publishing System.Threading.Timer 4.0.1-rc3-23829 … Publishing System.Xml.ReaderWriter 4.0.11-rc3-23829 … Publishing System.Xml.XDocument 4.0.11-rc3-23829 … Publishing System.Xml.XmlDocument 4.0.1-rc3-23829 … Publishing System.Xml.XmlSerializer 4.0.11-rc3-23829 … Published to C:\Users\Zushun.vscode\extensions\ms-vscode.csharp-0.3.7\coreclr-debug\debugAdapters Published 1/1 projects successfully Error while installing .NET Core Debugger.

There have been breaking changes in very recent builds of the .NET CLI that cause problems for the 0.37 version of the extension. If you don’t care what version of the .NET CLI you use, I would recommend using the instructions on http://dotnet.github.io/getting-started/. If you need to be on newer bits, you can try building the package from the ‘dev’ branch of this repo.