windows-phone-8.1http-headerswindows-phonewebclientwindows-phone-store

windows phone App submit test fail


I am working on windows phone 8.1 silverlight App. I need to implement Accept-Encoding header with gZip for both HTTP and HTTPS protocol.

I implement with WebClient but with HTTP API request get response like ������ this is happens with only HTTP request, It's working fine with HTTPS.

My main concern is App need to run on both HTTP and HTTPS protocol.

I do some google and get some near about solution so include SharpGIS.GZipWebClient.1.4.0.0 from NuGet, and implement Accept-Encoding header with gZip for both HTTP and HTTPS protocol and app working fine in Debug and Release mode while I directly deploy from Visual Studio to my windows phone.

But problem raised when I upload release mode app on windows phone store I getting this error from store Get error from store when app publish

I don't know why message say in SharpGIS.GZipWebClient.dll is built in debug mode because upload app on store in release mode.


Solution

  • Finally I found the solution Download SharpGIS.GZipWebClient from this link.

    First of all open downloaded project in Visual Studio and Rebuild in Release mode with ARM pick SharpGIS.GZipWebClient.dll from SharpGIS.GZipWebClient project Bin-->ARM-->Release

    Put SharpGIS.GZipWebClient.dll in windows phone app

    packages-->SharpGIS.GZipWebClient.x.x.x.x-->lib-->wp71 then add as references from packages folder in windows phone project.

    This is definitely work because it's works for me.

    Note: SharpGIS.GZipWebClient.x.x.x.x where x.x.x.x is version of SharpGIS.GZipWebClient