question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Microsoft.NETCore.App 1.1.0 Console App can not be debugged.

See original GitHub issue

Hello,

This is my global.json

{
  "projects": [ "src", "test" ],
  "sdk": {
    "version": "1.0.0-preview2-003131"
  }
}

and project.json

{
  "buildOptions": {
    "emitEntryPoint": true,
    "copyToOutput": [
      "appsettings.json"
    ]
  },
  "dependencies": {
    "Microsoft.Extensions.Configuration": "1.1.0",
    "Microsoft.Extensions.Configuration.Json": "1.1.0",
    "Microsoft.Extensions.DependencyInjection": "1.1.0"
  },
  "frameworks": {
    "netcoreapp1.1": {
      "dependencies": {
        "Microsoft.NETCore.App": {
          "version": "1.1.0",
          "type": "platform"
        }
      },
      "imports": "dnxcore50"
    }
  },
  "version": "1.0.0-*"
}

It’s almost an empty .net core Console App. It builds successfuly but if I want to debug it some window is flashing and Visual Studio gets out of debug view immediately. No errors, no warnings…

What am I doing wrong?

Thanks.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
barbarosalpcommented, Dec 1, 2016

@davidfowl The issue has gone after I download the “Current” version. We can close this. Thanks for your help.

1reaction
barbarosalpcommented, Dec 1, 2016

I think I have found what it is all about. Yesterday I downloaded the “LTS” version. I have clicked the “Current” tab on the download page. I will get back here if this problem will be gone after the “Current” version which is 1.1.0.

https://www.microsoft.com/net/download/core

Read more comments on GitHub >

github_iconTop Results From Across the Web

Can't debug from VS Studio 2015 after updating to ASP. ...
I updated my project to latest Asp.net core 1.1. After some adjustments to configuration now I'm able to debug and compile from VS...
Read more >
Debug a .NET console application using Visual Studio Code
Open the Debug view by selecting the Debugging icon on the left side menu. ... Select the green arrow at the top of...
Read more >
Package manager cannot find package in offline resources
Open Visual Studio, go to "Debug" --> "Options.." · Search for "Nuget Package Manager" --> General · Click on "Clear All Nuget Cache(s)"...
Read more >
Announcing the Fastest ASP.NET Yet, ASP.NET Core 1.1 ...
We are happy to announce that ASP.NET Core 1.1 is now available as a stable release on nuget.org! This release includes a bunch...
Read more >
Announcing .NET Core 1.1
We are excited to announce the release of .NET Core 1.1 RTM, the first “Current” release. You can start creating .NET Core 1.1...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found