I found this while preparing my environment for this purpose:
There is a folder on the computer where you can find the .vhd files of the virtual machines used to emulate Windows Phone.
C: \ Program Files (x86) \ Microsoft SDK \ Windows Phone \ v8.0 \ Emulation \ Images
Here you can find all images of the emulator: 
Delete the read-only attribute from the VHD file that you want to change: 
VHD file for mounting (Windows 8 or higher is performed by simply double-clicking on the file or opening it using Explorer)
After that you should see 5 additional sections 
2 of these sections are system partitions; you can identify them because they have 15% to 40% free space

Of these 2 sections, we take care that the section contains the Users folder. Now we must go to the next path:
YourDriveLetter: \ Windows \ System32 \ Drivers \ Etc

in this file we have to set the display
yourmachineip marketplaceedgeservice.windowsphone.com
192.168.1.109 marketplaceedgeservice.windowsphone.com
Save the file and extract the first section 
Now youβve finished configuring Mapping, itβs, of course, useless if you did not configure your computer to use the WebService provided by Microsoft for testing IAP
source share