I'm having some troubles setting up a debug environment with the following configuration:
Host computer - Physical, Windows 7 x64
Target computer - Virtual (Vmware), Windows 7 x64 (Running on Host computer)
I want to be able to develop a kernel mode driver, deploy and debug it in my VM.
Visual Studio is giving me a hard time, and provisioning the VM fails to work.
How can I successfully deploy and debug a driver in a VM ?
I managed to solve the problem by myself.
I wrote an article about the solution here.
To connect to a VMware target on the same machine, I simply used a serial cable to connect to each "half". My serial cables have USB at each end. So I just connect the ends to separate USB ports on my computer.
Related
As I and most of us WFH nowadays I am curious to know if there is way we can debug android app using remote AS and device connected to local machine.
I am using my laptop to connect my work machine which is super fast compare to my laptop so I want that device connected to my laptop is accessible by AS running in my work machine(Remote desktop).
I tried enabling usb port sharing while connecting to work system with remote desktop but no luck.
Yes in fact there is, I had the same problem as you, I was WFH but my Remote machine was unable to detect devices plugged into my laptop at home through Windows Remote Desktop (both machines Windows 10).
After searching for a long time I found the following the guide here: https://workspot.zendesk.com/hc/en-us/articles/214248563-Configuring-USB-Redirection-with-RemoteFX-in-Workspot
It requires you to Edit the Group Policy on both machines to allow USB Redirection with RemoteFX.
After following the instructions, I was able to detect the devices on my Remote Machine and all worked perfectly through Android Studio on the Remote Machine.
After rebooting both machines and connecting the RDP, make sure to enable the device to be shared on the RDP session using the bar at the top with a Printer icon, there you can tick to enable the device.
I'm trying to develop for HoloLens but my laptop doesn't support the needed specs, so I was trying to figure out a virtualized solution (namely, using an Azure VM).
After unsuccessfully running the emulator on the Azure VM, I found that according to Microsoft (https://technet.microsoft.com/en-gb/library/hh831531), "The Hyper-V role is not supported on a Microsoft Azure virtual machine", which kills that idea.
Does anyone know of an alternative virtual option for developing and running the HoloLens emulator, which doesn't rely on the host machine's (i.e. my laptop) specs?
Yes, in the latest version of Unity which is Unity 5.5, there's a new feature called "Holographic Emulation" that will enable you to run on a simulated device directly in the editor.
As for the requirements, you need to have
Unity 5.5 installed in your machine
Windows 10 Anniversary Update (or later) installed
Here's the link to the blog in case you want to check more details about the simulator
Hololens emulator IS the Hyper-V virtual machine with Windows 10 and 3D graphic capabilities. The host machine should be able to run Hyper-V (CPU/BIOS limitation) and have a 3D adapter. More details are here:
https://learn.microsoft.com/en-us/windows/mixed-reality/using-the-hololens-emulator
Then you could install the emulator from
https://learn.microsoft.com/en-us/windows/mixed-reality/install-the-tools
Hololens emulator is not supported in VM due to CPU limitation, you can use holographic simulation in Unity instead.
Title says it. There are not strong enough words in the English language that can express my hatred of Windows 8. I will not install it on my personal machine.
I was hoping to create an Azure VM and do my development there. But Windows 8 was not an option for a VM. So on a whim I created a 2012 Server VM and downloaded and installed the Windows 8 SDK. It installed fine.
I created a Hello World application and tried to run it. I got an error saying that Hyper-V was required. I used Coreinfo.exe to check and it says Hyper-V is not supported. So am I SOL?
The Windows Phone 8 emulator requires Client Hyper-V, which is a new feature of Windows 8. The emulator is an x86 virtual machine, which runs an x86 build of Windows Phone 8, and makes use of the RemoteFX technology for hardware virtual GPU support. It's so it runs at a high percentage of real device performance, and is very closely compatible.
Unfortunately, for hardware reasons, Hyper-V cannot be nested. In the Intel and AMD processor virtualization models, a guest operating system cannot itself be a nested hypervisor.
RemoteFX requires Second Level Address Translation. How to check if your processor supports it.
If you want to use the emulator, I'm afraid you have to install Windows 8. You can always dual-boot. Alternatively, get a phone developer-unlocked so you can debug on real hardware.
I've seen a variety of questions (like this) which relate to my issue, but none that specifically address my scenario.
I'm running a Windows 8 VM inside VMWare Fusion on my Mac. The VM has shared network, filesystem, etc through the NAT network adapter.
As I'm building an app using Visual Studio 2012, I'd like to do some remote debugging on my Windows Surface tablet (WinRT)... and I have installed the remote debugging tools on the Surface.
However, Visual Studio (running inside the VM) can never see the Surface as a CPU running on the network subnet.
Any ideas? I've even tried physically connecting the computers with USB/Ethernet adapters, but the Surface won't let me install the firmware.
As long as the visual studio debugger can see the surface's IP that should be good enough. They don't need to be on the same subnet (although it makes it a ton easier, they cannot be NAT'd as far as I am aware but that's a better question for Microsoft directly). The best that I can recommend would be to switch from shared to bridge for your networking, that should put your Win 8 VM on an actual IP on the same subnet. Otherwise you might be able to try IPv6... but I don't know how well that will work with VMware.
How can I share a file with my virtualised Windows CE box if the HPC Factor WindowsCE Virtual PC images do not support the Virtual Machine Additions or the virtual network driver?
I cannot mount a shared folder, since it requires the VM Additions and I cannot copy a file via the network, since it requires a working network driver.
Is there a way to copy a file from my host system to my CE VM or is there a better way to emulate Windows CE on my Windows 7 host system?
If your OS image includes ActiveSync, you could try to install a virtual (software-based) serial port, and connect ActiveSync on your workstation with the one on your virtual device. I have not tested this myself in Windows CE but in theory it should work. I found a commercial virtual serial port software here, and an open source one here.
If your OS image does not support ActiveSync, you could still try this approach using two serial port-based file transfer applications, for example hyperterminal on your workstation and Zterm CE on Windows CE.