i need to create method that finds all connected devices in my network, but since emulator uses virtual network, i can't find any.
Is there a way to have emulator connected to my network instead of virtual one?
Firstly Configure Hyper-V in the machine as given below.
After installation you will need to restart the machine.
Then Install Android SDK tools from Visual Studio as Go Tools–>Android–>Android SDK Manager
In there install all the packages with android support.
Then connect your phone with Developer option enabled and the visual studio will detect your device automatically.
I'm new to Xamarin, I created a blank app just to try it out
I have Windows Home so I can only have Android Studio's emulator. The emulator works fine when I either launch it from avd manager or visual studio, but from the latter my project just won't load.
From xamarin broker logs I get this error :
System.Net.Mqtt.Sdk.ServerPacketListener: Error: 0: Server - An error occurred while listening and dispatching packets
System.Net.Mqtt.MqttException: The keep alive tolerance of 00:00:45 seconds has been exceeded and no packet has been received from client
[[ From the avd manager when I launch the emulator I get this error "Telnet connection failed", idk what this means bc I can still access the internet through the emulator ]] EDIT : I activated telnet so i dont get this anymore, still not working tho
I tried to reinstall everything (sdk + vs)
I found several solutions which involve launching the emulator from the avd manager then deploy the solution from vs, but that seems to be possible only with visual studio emulator
I tried this App not run in visual studio emulator for android in visual studio 2015 but it uses a visual studio emulator which i can't have (it needs windows pro or enterprise for hyperV)
Thanks for your help
I'm getting an error :
Error: Unable to connect to the Microsoft Visual Studio Remote Debugger named 'minwinpc'. The Visual Studio 2017 Remote Debugger (MSVSMON.EXE) does not appear to be running on the remote computer. This may be because a firewall is preventing communication to the remote computer. Please see Help for assistance on configuring remote debugging.
I'm trying to deploy an app to my RPI 3 running Windows 10 IoT Core v.10.0.16299.15.
I've tried:
Reinstalling Visual Studio 2017
Installing Visual Studio 2017 Remote Debugger.
Restarting the VS.
I noticed that Visual Studio 2015 remoter debugger is running on raspberry pi and it has 192.168.0.6:8116 as a remote machine name while in VS2017, rpi's address is 192.168.0.6:4002. Why are they different? Can someone help me?
As Martin & Belekz mentioned,you can check the configuration of target device and firewall setting.And more,I want to add that,please note the configuration of Authentication Mode.You should set it as "Universal(Unencrypted Protocol)".Use the mode whenever you are deploying to a remote device. Currently, this is for IoT devices, Xbox devices, and HoloLens devices, as well as Creators Update or newer PCs.
Look at my post here i have the same problem and i tried several things, but only after i done this i can deploy remotely to pi again:
Uninstall old 16299 SDK and download new 16299 SDK from here
Repair VS from VSInstaller
run sfc /scannow
Also make sure you're using Universal authentication mode and type the ip without port number (or even using 'minwinpc' is enough)
hope this helps
I never deployed software from VS to a RPi using an port in the IP address before. So maybe you are doing something special, or I'm doing something basic, but;
dubble check if you need to assign a port.
Start Windows 10 IoT Core Dashboard and check if the Pi is visible
in your network.
--> If not, try to ping to your Pi, using the CMD
ping 192.168.0.6
--> If the ping fails, check your IP address of your Pi with a physical
monitor.
Check the address in the build properties according to the steps above.
Hope this helps!
You can configure the remote debugger's IP address and port to point to the correct endpoint of your Remote debugger.
Right-click the UWP app project, choose Properties, and in Debug tab you will see Start options with Target device which should be set to Remote Machine and below you can manually enter the Remote debugger's IP address and port into the Remote Machine field (192.168.0.6:8116 in your case). You should include the 8116 port in the Remote Machine field as well.
This should make Visual Studio connect to the Remote debugger instead of the RPI itself.
Also try to turn off the firewall to verify if it does not interfere with the connection.
i have see same problem in my laptop. i solve this problem by following steps..
first of all can you install Windows 10 IOT SDK in your .net?
if no then first of all download and install.
otherwise update vs 2017.
when install vs 2017 then automatically install iot sdk.
I have to develop a demo app using Xamarin + Visual Studio Community 2015.
I am completely new with this technology.
I have connected using USB one iPhone 6S to my Windows 10.
My problem is that Visual Studio does not recognize iPhone device.
Can you help me? Perhaps this device is not suitable for this development?
Thanks in advance.
You are going wrong. In order to test your IOS app on any physical device, you need a mac machine which will be remotely connected. Before deploying your application to a device, you need to have an active subscription to Apple's Developer Program or use Free Provisioning. Go through this link for better understanding. In case if you want to test your IOS app you can have IOS simulator for windows. For installation details click here.
You can not deploy your app on ios app from windows machine connecting via USB cable.
I am using MS Visual Studio 2013 Professional Edition with Update 3. When I try to deply a WP 8.1 to the mobile device, I am facing the following errors.
Error: DEP3100: Attempts to stop the application on target machine "127.0.0.1" failed.
This may cause the deployment to fail.
The network connection to the Visual Studio Remote Debugger has been closed.
Error DEP2300: The deployment tool (TailoredDeploy.exe) failed to run on the target machine "127.0.0.1".
The object invoked has disconnected from its clients.
I have earlier deployed application to this mobile device.
Why am I facing such an error now?
I manually uninstalled the app. And when I tried to re-install the app, the same error occurred. But the solution was more simpler than I thought. I restarted the phone after switching it off. Voila. Worked. I installed the app once again. Successfully debugged the application & was able to deploy it to the device.
PS: But still I don't know why this error occurred.