universal-tools / UTNotificationsFeedback

7 stars 0 forks source link

Can't pass Windows App Certification with UTNotification installed #132

Open artyom-kolesnikov opened 3 years ago

artyom-kolesnikov commented 3 years ago

Hello,

We can't release our application on Microsoft Store because Windows App Certification is failed with these errors:

The binary analyzer test detected the following errors:

  • File C:\Program Files\WindowsApps\DreamTeamStudio.Matchland-BuildyourThemePark_1.7.0.0_x64__fzbdpjw7mjtx4\clrcompression.dll has failed the AppContainerCheck check.
  • File C:\Program Files\WindowsApps\DreamTeamStudio.Matchland-BuildyourThemePark_1.7.0.0_x64__fzbdpjw7mjtx4\clrjit.dll has failed the AppContainerCheck check.

The supported APIs test detected the following errors:

  • API _XcptFilter in msvcrt.dll is not supported for this application type. clrcompression.dll calls this API.
  • API __C_specific_handler in msvcrt.dll is not supported for this application type. clrcompression.dll calls this API.
  • API _amsg_exit in msvcrt.dll is not supported for this application type. clrcompression.dll calls this API.
  • API _initterm in msvcrt.dll is not supported for this application type. clrcompression.dll calls this API.
  • API free in msvcrt.dll is not supported for this application type. clrcompression.dll calls this API.
  • API malloc in msvcrt.dll is not supported for this application type. clrcompression.dll calls this API.
  • API memcpy in msvcrt.dll is not supported for this application type. clrcompression.dll calls this API.
  • API memset in msvcrt.dll is not supported for this application type. clrcompression.dll calls this API.
  • API ExecuteAssembly in uwphost.dll is not supported for this application type. UWPShim.exe calls this API.
  • API DllGetActivationFactory in uwphost.dll is not supported for this application type. UWPShim.exe has an export that forwards to this API.

I've tried to pass certification on empty project and I have no such issues until UTNotification is installed. I've also made some experiments and discovered that these issues are related to UTNotifications.winmd.

We are using Unity 2018.4.23f1 but I think it doesn't matter.

alexmironfox commented 3 years ago

Same here. Have you managed to get through?

Thanks!

dakyanus commented 2 years ago

I think these dll's are added to the project after the Create App Packages step in VS I was able to overcome the issue using the method in the link below (nuget.targets editing)

I hope your problem is solved too.

https://forum.unity.com/threads/problem-passing-windows-app-certification-kit-tests-when-referencing-runtime-component-library.659221/