[英]Xamarin: How to debug Xamarin Android on Visual Studio
I have a problem with debugging the android enabled device when coding with xamarin under Visual Studio. 在使用Visual Studio下的xamarin进行编码时,我在调试Android设备时遇到问题。 I can deploy the code and run it on the device but if I use the debug instead of deploy then I receive this message.
我可以部署代码并在设备上运行它,但如果我使用调试而不是部署,那么我会收到此消息。
"Project not selected to build for this solution configuration" “未选择项目来构建此解决方案配置”
Do I need to setup anything to debug the device. 我是否需要设置任何东西来调试设备。
Are projects selected to build for the Debug configuration? 是否选择了为Debug配置构建的项目? Change the configuration to Debug, then go to Build > Configuration Manager menu in Visual Studio.
将配置更改为Debug,然后转到Visual Studio中的Build> Configuration Manager菜单。 Are the project(s) checked under the "Build" column?
是否在“构建”列下检查了项目?
Whenever you see a message such as: 每当您看到如下消息时:
"Project not selected to build for this solution configuration" “未选择项目来构建此解决方案配置”
or 要么
========== Deploy: 0 succeeded, 0 failed, 1 skipped ========== ==========部署:0成功,0失败,1跳过==========
This typically indicates your deploy was skipped. 这通常表示您的部署已被跳过。
You need to go to Build -> Configuration Manager and check the respective Deploy checkbox for your Xamarin.Android project. 您需要转到Build - > Configuration Manager并检查Xamarin.Android项目的相应Deploy复选框。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.