Share via

Supported API test failed for GetAssemblyIdentityFromFile in mscorwks.dll

Adrien Lemarchand 106 Reputation points
2021-08-31T13:28:17.77+00:00

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.

Developer technologies | Universal Windows Platform (UWP)

Answer accepted by question author

Adrien Lemarchand 106 Reputation points
2021-09-03T07:47:51.043+00:00

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

Was this answer helpful?

1 person found this answer helpful.
0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.