Remote Debugging .NET Core Linux Docker Container - “the current source is different from the version built into .dll”

前端 未结 1 1725
名媛妹妹
名媛妹妹 2021-02-01 08:29
  • Docker
  • .NET Core 1.1
  • Visual Studio 2017
  • .NET Core Debugger (clrdbg)

I am receiving the following error:

\"The bre         


        
1条回答
  •  野的像风
    2021-02-01 09:17

    Tools->Options->Debugging->General, turn off "Require source files to exactly match the original version". Not ideal, but at least it hits the breakpoint set in the source code in VS2017.

    Please let me know once you find out how to properly fix this.

    0 讨论(0)
提交回复
热议问题