question

AdrienLmd avatar image
0 Votes"
AdrienLmd asked AdrienLmd answered

Supported API test failed for GetAssemblyIdentityFromFile in mscorwks.dll

Hello

I'm trying to update an UWP application build with Xamarin on the Microsoft Store but i'm stuck with this error :

Details: Supported APIs

 Error Found: The supported APIs test detected the following errors:
     API GetAssemblyIdentityFromFile in mscorwks.dll is not supported for this application type. Sample.UWP.exe calls this API.
 Impact if not fixed: Using an API that is not part of the Windows SDK for Windows Store apps violates the Windows Store certification requirements.
 How to fix: Review the error messages to identify the API that is not part of the Windows SDK for Windows Store apps. Please note, C++ apps that are built in a debug configuration will fail this test even if it only uses APIs from the Windows SDK for Windows Store apps. See the link below for more information: https://msdn.microsoft.com/library/windows/apps/hh464945.aspx


Architecture :
x64
Version :
10.0.19041.685
OS Version :
Microsoft Windows 10 Professionnel (10.0.19042.0)
Architecture :
x64

Can you help me to solved this error ?

Thanks a lot.

Edit : I use "Compile with .NET Native tool chain" option.

Adrien.


windows-uwp
· 5
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Have you used mscorwks.dll in your project, and have it published to store successfully before?

0 Votes 0 ·

I don't use mscorwks in my project. I didn't know what it was before i get this error. I published succesfully the app on the microsoft store at the begining of the year. I'm trying to identify the commit that cause the error. I'm afraid that it matches to the upgrade of all my dependencies (Xamarin Forms & co).

0 Votes 0 ·

Yep, you could try to update the uwp project min version to latest or rollback upgraded nuget packages.

0 Votes 0 ·
Show more comments

1 Answer

AdrienLmd avatar image
1 Vote"
AdrienLmd answered

Error came from Microsoft.Build.Tasks.Core upgrade from 16.6.0 to 16.10.0.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.