You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would have expected that since VS Code injected launch.json into the project, and that it had access to project.json etc. that it'd be able to determine the target-framework automatically.
VS Code by itself does not know anything about .NET projects and project.json.
So it can only be the .NET extension that creates a launch.json that corresponds to the project.json.
From @bitcrazed on July 10, 2016 17:44
Steps to Reproduce:
dotnet restore
: Dependencies should be downloadeddotnet run
: Project should build & runcode .
: VS Code should load and open the project folderI asked about this on Twitter and received help from @jchannon, @shanselman and @DamianEdwards (thanks guys): Turns out that I had to manually determine the
target-framework
andproject-name
fields. I also had to set the "debugType": "portable" in project.json. (see request to set this by default)I would have expected that since VS Code injected
launch.json
into the project, and that it had access toproject.json
etc. that it'd be able to determine the target-framework automatically.Copied from original issue: microsoft/vscode#9033
The text was updated successfully, but these errors were encountered: