vscode-csharp
vscode-csharp copied to clipboard
Debugger doesn't support debugging x86 processes on x64 Windows
Environment data
dotnet --info output:
.NET Command Line Tools (1.0.4)
Product Information: Version: 1.0.4 Commit SHA-1 hash: af1e6684fd Runtime Environment: OS Name: Windows OS Version: 6.1.7601 OS Platform: Windows RID: win7-x64 Base Path: C:\Program Files\dotnet\sdk\1.0.4
VS Code version: 1.15.0
C# Extension version: 1.12.1
Steps to reproduce
- dotnet new mvc -o projname
- cd projname
- code . (start vscode)
- change <TargetFramework>netcoreapp1.1</TargetFramework> to <TargetFramework>net452</TargetFramework> in projname.csproj
- run: dotnet restore
- ctrl+shft+d (opens debug)
- Hit F5 (start debug) -> Choose .Net Core to create a launch.json
- In launch.json change
to net452 and .dll to projname.exe - Hit F5 again -> Click open Configure Task Runner -> Choose .Net Core
- In tasks.json Change "command": "dotnet build", -> "command": ""dotnet build '${workspaceRoot}/projname.csproj'"",
- Set a Breakpoint and Hit F5 again
- Popup showing "Only 64-bit processes can be debugged."
Expected behavior
Should start debugging and hit breakpoints
Actual behavior
Only shows the error message and stops
If i change the <TargetFramework> to netcoreapp1.1 in projname.csproj
and in launch.json change
Am i doing something wrong, have something installed incorrectly or is this the expected behaviour?