-
Notifications
You must be signed in to change notification settings - Fork 731
Description
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 netcoreapp1.1 to net452 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 to netcoreapp1.1 in projname.csproj
and in launch.json change to netcoreapp1.1
and .dll to projname.dll the debbuging works and the breakpoints are hit.
I checked the projname.dll that netcoreapp1.1 produced and the projname.exe that the net452 produced. And they are both in x86.
Am i doing something wrong, have something installed incorrectly or is this the expected behaviour?