c# - Xamarin 安卓 : Shared MonoRuntime error

标签 c# mono xamarin.android xamarin-test-cloud azure-pipelines

我正在使用 Xamarin 开发 Android 应用程序。我通过模拟器和手动测试云成功进行了测试,但是当我尝试通过 VSTS 运行它时,我得到:

Mono Shared Runtime is not supported. This can be resolved by changing the project configuration or using a Release build.

我检查了我的 android 项目文件,共享单声道运行时已关闭。

谁能告诉我是什么原因导致了这个问题以及如何解决它?

最佳答案

右键单击您的 Android 项目 -> 属性

enter image description here

禁用“使用共享运行时”选项

enter image description here

关于c# - Xamarin 安卓 : Shared MonoRuntime error,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37756286/

相关文章:

c# - 绑定(bind) WPF MVVM ListView 内的命令的 MultiBinding 与 ViewModel 属性

c# - 带有 Mono 的 MissingMethodException

ImageButton 与其他元素重叠的 Android 布局

c# - 使用 Mono 和 P/Invoke 处理文件句柄

android - 罢工 html 标签不呈现在 EditText 与 TextFormatted

c# - 在 Xamarin 表单中添加长按手势识别器

c# - 获取继承自 Asp.Net MVC 中的 ApplicationUser 的自定义用户类列表

c# - 将双引号内联附加到字符串生成器时出现问题

c# - 在asp.net中单击按钮时显示div

c# - 用于 Android 预处理器宏的 Mono