-
Notifications
You must be signed in to change notification settings - Fork 652
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Auto generated launch.json does not work with ASP.NET Core 1.1 #1126
Comments
Did |
I believe it did. |
When you execute |
IOW, my suspicion here is that the "yo aspnet" projects are simply not moved over to .csproj, which is what your installed dotnet CLI expects. There's not much we can do about that in C# for VS Code. |
@scottkuhl: I'm going to go ahead and close this. I can't help further without more information. That said, I do suspect this is a problem of the "yo aspnet" simply not being moved from project.json to .csproj yet, but you're using a new .NET CLI that only supports .csproj. |
So it's still broken... but that's not a bug? I'm confused. |
@ecnelson: This issue was about using a newer .NET CLI that only supports .csproj .NET Core projects with project.json .NET Core project produced by "yo aspnet". Is that what you're experiencing? If not, please file a separate issue. |
Environment data
dotnet --info
output: .NET Command Line Tools (1.0.0-preview4-004233)VS Code version: 1.8.1
C# Extension version: 1.6.2
Steps to reproduce
Expected behavior
Browser launches and enters debug mode.
Actual behavior
launch: launch.json must be configured. Change 'program' to the path to the executable file that you would like to debug.
Workaround
Edit the launch.json file from this:
"program": "${workspaceRoot}/bin/Debug//<project-name.dll>",
to this:
"program": "${workspaceRoot}/bin/Debug/netcoreapp1.1/projectname.dll",
See Also
microsoft/vscode#10040
The text was updated successfully, but these errors were encountered: