Unable to debug UWP app in Visual Studio 2015 on a device from VMWare Fusion - xamarin

I am implementing a Xamarin app for UWP (and Android and iOS). I'm using VS2015 in VMWare Fusion VM on a Macbook Pro. I am able to build and debug the UWP app in an Emulator without any problems. However I am not able to deploy and debug to a connected Lumia 950 phone over USB. The deployment starts and fails after a while with the message: DEP0001: Unexpected Error -2147023436.
It looks to me as if the file transfer over the USB is not working - however the device is connected and I can communicate with it from the virtual machine.
I have tried a lot, such as using the WinAppDeployCmd.exe command line tool to deploy to the phone. It recognizes the device and starts the package upload and then hangs.
Anybody had the same problem?

Related

Deploy/debug app to windows 10 mobile phone via USB

I'm trying to create an UWP app for some old windows 10 mobile phones and deploy/debug them via USB.
I'm using Visual Studio 2017 and have set the target version to Build 10586 (to stay below 14393).
When I try to debug (freshly created UWP blank app, settings: Debug, ARM, Device), the deployment fails with this error:
DEP0100: Please ensure that target device has developer mode enabled.
Could not obtain a developer license due to error 800704C7.
Just before the failure the developer settings of my local machine pop up, so I have the feeling it is trying to deploy to my local windows 10 machine instead of the phone.

Debug an app on Chrome-OS device using Mac

tldr:
I have an Acer Chromebook laptop which can also be used as a tablet. Can I connect it to my Mac as a device for Android Studio?
Detailed version:
I have a Mac on which I've installed Android Studio for developing Android and Chrome-OS applications. I want to debug an app for chrome-os, but not on the emulator, but on a real device. Can I connect the Acer Chromebook to my Mac for debugging (it's possible to connect Android phone to the Mac, but I don't know about Chrome-OS devices).
If it's not possible, what's the best way to debug an app the that specific device?
The ways to debug apps on Chromebook from another device are debugging via USB or debugging via WIFI.

VS deploy looking for WP device instead of W10M

I've been trying to deploy my UWP app on a W10M phone via a USB connection, but VS is trying to deploy it into a WP8.1 device, which as expected, fails. The following are informative about the situation:
The app is being compiled with a target of Creators Update 1703 (b15063), and a minimum of November Update 1511 (b10586).
The app is not migrated from a WP8.1 project.
The target device OS version is 10.0.15063.297 (Insider).
Development tools are on, tried re-enabling it, no change of weather.
Tried both USB 3 and USB 2, neither are working.
The phone is visible to my PC, both in the device manager and the file explorer, and it's fully functional for data transport.
The interop is not unlocked, but New Capability Engine, Full Filesystem Access is unlocked, and the original NDTKSvc is restored.
The IDE is Visual Studio Community 2017 (15.1).
This is the first error message:
And so is the output: DEP6200: Bootstrapping failed. Device cannot be found. SmartDeviceException - Deployment failed because no device was detected. Make sure a device is connected and powered on. [0x80131500]
Thanks.

Debugging Xamarin.iOS project without physical mac

My idea is to use macincloud to build xamarin project. And I'd like to debug it also.
On xamarin's site it's written that "Xamarin.iOS applications can be debugged with the built-in debugger in Xamarin Studio or Visual Studio." But it's still not clear if the device, for example iPad can be connected to Windows machine? Or It has to be connected to Mac only?
Device has to be connected to the Mac. If we are connecting to a mac remotely, we can use a Simulator and and view the result using a RDP client like TeamViewer. I'm not sure if that is possible with MainCloud. You can also go for Xamarin Test Cloud if that is feasible for you.
No, it's not possible to deploy to device and debug with MacinCloud. You can however launch a simulator and debug your app inside the emulator.
If you want to deploy to your ipad you can use publish your app with TestFlight service and install TestFlight builds on your iPad.
See more details at Developing iOS Apps in Visual Studio with MacinCloud
There are two possible ways how to do it. First one is more proper but it's in preview version - Microsoft introduced Xamarin Live Player.
Second way is to have your own virtual machine of macOS on Windows machine. Here is the tutorial how to do it.

Error while debugging Windows Phone 8.1 app on device

I try to debug my windows 8.1 application on the device (lumia 630) but I get the following error:
"The application could not be launched for debugging. Ensure that the target device screen is unlocked and that the application is installed."
The application is installing and I can run it without problems on the device. I also can debug the application in the emulator. The only problem appears when trying to debug on the device. I tried everything I could find with a google search...This inclues restarting the Windows Phone IP over USB service, reinstalling the W8 SDK, un-installing the app before debugging.
If someone has an idea, no matter how stupid it is I would like to hear it. I really need the phone debugging.

Resources