Error when compiling MonoDevelop 5.3 on Linux

时光毁灭记忆、已成空白 提交于 2019-12-05 10:25:47
Matt Ward

If there is a NuGet error when compiling MonoDevelop on Linux then you can see the actual error message by running NuGet restore directly on the command line.

mono external/nuget-binary/NuGet.exe restore Main.sln

If the error message contains:

Error getting response stream (Write: The authentication or decryption has failed.): SendFailure

Then this is most likely a certificate error since Linux by default does not trust any certificates.

This NuGet error can usually be fixed by running the following command:

mozroots --import --sync

If the above does not work take a look at the NuGet on Linux Error Getting Response Stream StackOverflow post which has other slightly different mozroots commands you can try.

(The above was moved from the comments to make it easy to find)

I had the same problem, being unable to find a solution, I found a ppa here:

https://launchpad.net/~inizan-yannick/+archive/ubuntu/mono

Which installed 5.3 fine. The information came from the MonoDevelop google+ group here:

https://plus.google.com/communities/116399945085263839159

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!