wp wp8: The specified communication resource (port) is already in use by another application error

When the test machine is 820t, it has been running normally. Later, when I switched to 920t, the installation error occurred:

Error message:

Application installation failed. A runtime error occurred. Please fix the Capabilities in the WMAppManifest.xml file. The

alert prompt pops up: the specified communication resource (port) is already used by another application.



So create an empty project and run it on the 920t and run normally.



According to the contents of the Capabilities in the WMAppManifest.xml file, I opened the two project files to compare and

found that there are discrepancies in the configuration resolution at this location

<ScreenResolutions>
      <ScreenResolution Name="ID_RESOLUTION_WVGA"/>
      <ScreenResolution Name="ID_RESOLUTION_WXGA"/>
      < ScreenResolution Name="ID_RESOLUTION_HD720P"/>
    </ScreenResolutions>

There is no <ScreenResolution Name="ID_RESOLUTION_WVGA"/> in the previous project, so this configuration is added, and it runs normally

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326367135&siteId=291194637