Category Archives: Windows

Visual Studio, Xamarin and Debug an APP

While developing an iOS-App with Visual Studio and Xamarin you may get this message:

Visual Studio cannot start the application automatically because
it was signed with a Distribution provisioning profile. Please start it
by tapping the application icon on the device

Boom! And you are not able to debug you App. But hold on … there is a fix.

First of all ensure that have you selected the correct Singing Identity in you iOS project setting iOS Bundle Signing. It should be Developer (Automatic) and Provisioning Profile should be Automatic as well.

Then check you Certificates and Provisioning Profiles in you Apple Developer Console. Ensure that you have a correct Identifier App ID! And the most important thing … Ensure there is a Development Provisioning Profile which includes the App ID. You can use a wild card or explict one.

Then download the profile, import it to you Mac OS and clean you build. Now it should work!

Visual Studio and Windows 10 Emulator

While trying to run an Windows Universal App on a Windows 10 Emulator I got this error message:
Microsoft Synthetic 3D Display Controller: Failed to Power on with Error 'Insufficient system resources exist to complete the requested service.' (0x800705AA).

Quick Solution:

  • Open the Hpyer-V Manager
  • Delete the virtual machine which will cause the error. VS will recreate it when needed
  • Open Hyper-V settings
  • Disabled the RemoteFX support for any GPU

Now it should work.

Mouse movement awakes Windows from hibernate mode

I really like to you the hibernate mode of Windows. And it’s working very fine. However I recently added a new mouse device. First it seems to work but when I accidentally moved my mouse while the PC was in hibernate the computer restarted! The quickest way to find out which device is able to awake the computer and disabled it is to use the command line:

powercfg -devicequery wake_armed Will list all devices which are allowed to wake up the computer.
powercfg -devicequery wake_programmable will list all disallowed devices.

Now you just have to pick the right one from the allowed list and disable it with this command
powercfg -devicedisablewake deviceNname

For what ever reason I had to disable all devices until the movement of my mouse didn’t wake up the PC any longer.

After hibernation windows awakes when moving the mouse

You put your computer into hibernation. Everything seems to fine and you went off. When you come back your PC is running. How? Mostly since you have a cordless mouse which sends from time to time a signal. Or you just moved the mouse.
After checking all BIOS settings you were not able to find the reason. This is because the main reason for the problem is your OS: Windows 7 or Windows Vista. They have their own build-in power management.  So you need to change the settings there.

So, if you have the problem that your computer awakes when moving the mouse after the hibernation there is a simple solution:

  • Open the „Device Manager“
  • Collapse „Mice and other pointing devices“
  • Select your mouse
  • Right click and select „Properties“
  • Switch to the „Power Management“ tab
  • Deselect „Allow this device to wake the computer“
  • Done!