无法在Visual Studio for Mac中调试某些应用程序

问题描述 投票:0回答:2

在Visual Studio for Mac中创建新的控制台应用程序(.Net核心)时,我尝试调试它,我收到一个错误:

调试器操作失败

无法开始调试。 'Crypto'的类型初始值设定项引发了异常。

将应用程序更新到.Net core 1.1.0的最新稳定版本后会发生这种情况。

有什么想法可能会发生吗?

.net-core visual-studio-mac
2个回答
0
投票

尝试执行以下操作(找到here):

brew update
brew install openssl
brew link --force openssl

更新:通过brew更新mono后我遇到了同样的问题。从Install pre-requisites部分重复最后一步有助于......

mkdir -p /usr/local/lib
ln -s /usr/local/opt/openssl/lib/libcrypto.1.0.0.dylib /usr/local/lib/
ln -s /usr/local/opt/openssl/lib/libssl.1.0.0.dylib /usr/local/lib/

0
投票

我在9月/ 10月遇到了这个问题,Rider的一切都很有效。我在Xamarin bugzilla上报告了这个错误,并立即联系了我并且“我们解决了”(我让他用TeamViewer在我的机器上工作)。

enter image description here

工作版本(7.4)仍然不稳定,但很快就会出现。

enter image description here

© www.soinside.com 2019 - 2024. All rights reserved.