断点未命中 Xamarin PCL 项目,仅在 iOS 特定代码中

Breakpoints not being hit Xamarin PCL project, only in iOS specific code

我刚刚在我的 Mac 代理服务器机器上为 Mac 安装了 Visual Studio,现在当我调试我的 iOS 项目时,只有特定 iOS 代码命中。 PCL 项目中的断点 运行 输出:

Resolved pending breakpoint at 'MyClass.cs:75,1' to void MyClass.<MyFunction>d__4.MoveNext () [0x00012].

PCL 断点未命中。

两台机器上的所有内容都是最新的。

有什么帮助吗?

嗯...将 iOS Build 属性 "Linker Behavior" 设置为 "Don't Link".

后问题似乎消失了