Question

HelenMamalaki on Tue, 10 Apr 2018 14:45:00


I am trying to publish WinRT WinPhone 8.1 app, however it keeps failing certification for using unsupported APIs in "System.dll" and "System.Net.dll" which we can not remove from out project. Are there any recommendations/ action we can take to get rid of these certification issues.

This API is not supported for this application type - Api=System.SystemException. Module=MSCORLIB, PUBLICKEYTOKEN=7CEC85D7BEA7798E. File=System.dll. This API is not supported for this application type - Api=System.SystemException.#ctor. Module=MSCORLIB, PUBLICKEYTOKEN=7CEC85D7BEA7798E. File=System.dll. This API is not supported for this application type - Api=System.SystemException. Module=MSCORLIB, PUBLICKEYTOKEN=7CEC85D7BEA7798E. File=System.Net.dll. This API is not supported for this application type - Api=System.Security.UnverifiableCodeAttribute. Module=MSCORLIB, PUBLICKEYTOKEN=7CEC85D7BEA7798E. File=System.Net.dll. This API is not supported for this application type - Api=System.Security.UnverifiableCodeAttribute.#ctor. Module=MSCORLIB, PUBLICKEYTOKEN=7CEC85D7BEA7798E. File=System.Net.dll. This API is not supported for this application type - Api=System.ComponentModel.TypeConverter. Module=SYSTEM, PUBLICKEYTOKEN=7CEC85D7BEA7798E. File=System.Windows.dll. This API is not supported for this application type - Api=System.ComponentModel.ITypeDescriptorContext. Module=SYSTEM, PUBLICKEYTOKEN=7CEC85D7BEA7798E. File=System.Windows.dll. This API is not supported for this application type - Api=System.SystemException. Module=MSCORLIB, PUBLICKEYTOKEN=7CEC85D7BEA7798E. File=System.Windows.dll. This API is not supported for this application type - Api=System.ComponentModel.ListSortDirection. Module=SYSTEM, PUBLICKEYTOKEN=7CEC85D7BEA7798E. File=System.Windows.dll. This API is not supported for this application type - Api=System.Security.UnverifiableCodeAttribute. Module=MSCORLIB, PUBLICKEYTOKEN=7CEC85D7BEA7798E. File=System.Windows.dll. This API is not supported for this application type - Api=System.ComponentModel.TypeConverterAttribute. Module=SYSTEM, PUBLICKEYTOKEN=7CEC85D7BEA7798E. File=System.Windows.dll. This API is not supported for this application type - Api=System.Security.UnverifiableCodeAttribute.#ctor. Module=MSCORLIB, PUBLICKEYTOKEN=7CEC85D7BEA7798E. File=System.Windows.dll. This API is not supported for this application type - Api=System.ComponentModel.TypeConverterAttribute.#ctor(System.Type). Module=SYSTEM, PUBLICKEYTOKEN=7CEC85D7BEA7798E. File=System.Windows.dll. This API is not supported for this application type - Api=System.Windows.Threading.Dispatcher. Module=SYSTEM.WINDOWS, PUBLICKEYTOKEN=7CEC85D7BEA7798E. File=Microsoft.Phone.Reactive.dll.


Sponsored



Replies

Mattew Wu on Wed, 11 Apr 2018 08:59:03


Hi Helen,

Do you compile your app in release mode? The debug build of your app will fail this test regardless of the API use.

For unsupported API, you need to remove the dll reference from your package or it cannot pass this certification. Some API are supported only for Windows Store apps and not Windows Phone Store apps, and vice-versa. Specific compatibility details for a particular API can be found in its reference topic or relevant header file. For more information, see Win32 and COM.

Best regards,

Mattew Wu