I'm trying to connect Xamarin(Visual Studio 2015) from my personal Windows 10 to the Mac of my company. Those 2 computers aren't on the same network.
So my question is:
Can I use a Mac as build host to build my code from a different network?
Thank !
I found an answer since I posted it ;)
Thank all for your help !
How to do? Let say that you have a friend who have a Mac machine and then you need it to compile your Xamarin Project from visual Studio
Download "Hamachi" where you want on the internet. You'll just need to create a account to use it, so do it :) It's free. Do it on both computer of course.
Create a network from Hamachi software from the machine 1
Join the network from Hamachi software from the machine 2
Now, follow the tutorial given by Xamarin and you'll see, the Mac appears !
With the new Mac build system, I don't believe that the machines are required to be on the same network, as long as the Mac is reachable from the Windows machine over port 22.
The Windows computer must be able to reach the Mac via the network.
From the Xamarin documentation: The Windows computer must be able to reach the Mac via the network.
When I'm away from work I use a VPN to achieve this. Check with your system administrator at work to see if you can use a VPN to get your Windows 10 machine connected to the business network (and thus, the Mac).
As long as you can SSH into the Mac from the Windows machine (there are several free apps such a Putty) you should be able to connect to that Mac from Xamarin in Visual Studio and use it as a Mac Build Host.
Related
I'm trying to deploy a UWP app from my Alienware 18, Laptop with Windows 10, version 1803 to a Tablet Galaxy TabPro S with Windows 10 version 1803 as well.
I had activated developer mode on the device target and the USB device discovery option as well.
First I tried connecting a USB Cable from my laptop to the tablet which has a USB-C port.
But My laptop doesn't even find it.
What I want is to find a way to deploy a UWP from my laptop to the tablet, I made some research and I found out that, only HoloLens and Windows Phone 10, are findable using USB Connection.
So what step should I follow to successfully remote debug my app to a windows 10 Tablet.
I would appreciate details because I tried to follow remote deploying but I haven't been able to successfully find the tablet.
The Windows 10 on your tablet, just like on your development machine, supports remotely debugging over the network rather than over USB. Make sure both machines are in developer mode, with the other machine also having Device Discovery turned on as described here. Both should connect to your WiFi as a private network. After that it should be as simple as configuring your project to deploy to the other machine, rather than locally, as described here and here. Don't forget to pair them with a PIN.
If you host a web API on your development machine, configure your firewall as described here.
Use remote debugging over at https://learn.microsoft.com/en-us/visualstudio/debugger/remote-debugging?view=vs-2017
Make sure you follow the instructions, sometimes remote debugging is barred by firewall so check that.
Alternative right click your main project, go to store then click create packages for sideloading and then send the package over at your Samsung device.
So what step should I follow to successfully remote debug my app to a windows 10 Tablet.
To run a UWP app on a remote machine, you must attach to it using the Remote Tools for Visual Studio.
In some scenarios, the remote tools are automatically installed when you deploy to a remote device. For example,
For Windows 10 PCs running Creators Update and later versions, remote tools will be installed automatically.
Then, your remote device and the Visual Studio computer must be connected over a network or connected directly through a USB or Ethernet cable. Debugging over the internet is not supported.
After that, you need to configure the Visual Studio project for remote debugging. In the properties of the project, select the Debug and choose the Remote Machine from the Target Device list. In general, I will input the remote machine's IP address, you could choose Find to choose the device from the Select Remote Debugger Connection dialog box.
Next step, please move to your Tablet, you need to Set up the remote debugger. You must have administrative permissions on the remote computer. Then, open the Start menu and search for Remote Debugger. If you could find it, just start it normally. If you cannot find it, you need to install it Remote Tools manually. See this link to Download and Install the remote tools. Once the Remote Debugger started, you could do some configurations. After that, you could choose Start Debugging on the Debug menu (Keyboard: F5). The project is recompiled, then deployed to and started on the remote device. Please read Run UWP apps on a remote machine in Visual Studio for more information.
I seem to hit a catch-22 situation. I have a windows 10 virtual machine set up within vmware workstation 12. On that VM is my full visual studio 15 development environment. This is my preferred dev environment and I do not wish to change it.
How can I use the above dev environment with the Xamarin android player?
Installing it on the same VM as my dev environment is not supported
Installing it on my host machine isn't acceptable because the xamarin player installation demands the disabling on hyper-V which will impact my vmware setup
What are my options for have xamarin player work with my VM?
One option is to skip the 3rd-party Emulators (Xamarin, Visual Studios, Genymotion, etc...) and create a VMWare Android Guest and you can run your VisualStudio'15 Guest VM side-by-side of a Android Guest VM. As long as they share a network then Android's debug bridge (adb) can connect to it and thus Xamarin can connect to it.
The Android-x86 site has the .iso's and there are a number of blog posting around that walk you through the process of creating a Android-base d Guest VM.
http://www.android-x86.org/download
FYI: Does the "vmx.allowNested = TRUE" not work in your situation?
I installed Xamarin platform on my mac. But I can't find the Xamarin build host that and connect it to the Visual Studio on my PC. Does anyone know how to get it?
You have to configure you Mac for remote access: https://developer.xamarin.com/guides/ios/getting_started/installation/windows/#Configuration
The new buildhost is using ssh. It is using UDP broadcasts (mDNS, a.k.a. Bonjour) for advertising itself. In some networks/routers/switches UDP broadcasts are blocked. If you still can't find it, try to use the static ip of your mac.
I am working on project. I have taken remote system. My problem is that Visual studio and windows phone 8 device located in remote place. Windows phone 8 is connected in remote server. All sources and devices are located in remote server. I need to test and debug the app. How can i see the device screen? I want to control the device using remote server. Any software or method to take control the phone in PC?
In other words, I want to control or display the screen of windows phone 8 device on PC.
Any idea should help me a lot.
Thanks in advance.
As there is not a way to interact with a physical Windows phone 8 remotely yet (unless you are a Microsoft employee with special access to private builds of the phone), I'd suggest that the remote site set up a machine configured with Windows 8.1, Hyper-V, Visual Studio for Windows Phone, and the emulators. You can use Remote Desktop to gain access to the machine and test and debug the application through the emulators.
Or, of course, the best would be if you could just gain access to the source code for the application and do the testing locally. Depending on the resources required by the application, you may need to create a LAN to LAN VPN in which all traffic would route through the remote site.
I am trying to find a solution for installing Visual Studio 2010 (VMWARE) and connecting to it remotely so that both i can use the pc and the receiver can monitor what i am doing.
There seems to be so many different solutions for VMWARE and i am little of which will work.
It would be ideal if it was free of charge, i notice the "VMWARE PLAYER" is - but i think is only to run virtual machines???
If anybody has had any success of running VMWARE with visual studio 2010 i would look to hear your comments or any advice
Thanks
EDIT
TO clarify, i am looking to run visual studio 2010 in VM.
In order to run VS2010 in VM you will need:
VMWare Server 2.0
Licenced operating system
VS2010
Follow those steps:
Install VMWare server on the physical host
Create a new virtual machine
Install operating system on your virtual machine
Install VS2010 + any other software you need for development
Connect your VM to internet so it can be connected to from internet (open necessary firewall ports)
On a side note: why do you want the receiver to have access to your development environment in the first place? Won't it suffice to give him access to your deliverables only? If you are developing a web site - publish it and give him access. For desktop apps give him the link to a site where you can dump your nightly builds...
I agree with Jakub, but you could also use ESXi on a system do the same thing and have for a few trade shows I would do the following
1) VMware ESXi, use 4.01 located at VMware vSPhere Hypervisor ESXi
2) Use Microsoft Windows 2008, you can be granted a 60 day license for testing.
3) Install Microsoft VS2010 (in my case it was Microsoft VS2008, its all our group uses.
The only issues I have found are when installing Visual Studio 2008, the OS detection might cause a few issues. VS2010 should be able to correctly detect the OS you are using.
The other testing bed the developers I support use are based around the same thing, but use Xen for the hypervisor. We have found on long haul networks using tunnels, VMware ESXi's remote console sessions can be crazy and produced odd graphical draws and even latency.
Good luck with Visual Studio 2010. And I hope your teams work out.