peachpie icon indicating copy to clipboard operation
peachpie copied to clipboard

libMonoPosixHelper issue - not able to submit UWP app to Microsoft Store

Open ghost opened this issue 4 years ago • 2 comments

When submitting my UWP app to the microsoft store i get the following error: File libMonoPosixHelper.dll has failed the DBCheck check. And some error messages like this: API EnumProcessModules in psapi.dll is not supported for this application type. libMonoPosixHelper.dll calls this API. API __dllonexit in msvcrt.dll is not supported for this application type. libMonoPosixHelper.dll calls this API. (and a bunch more)

The app seems to function perfectly without Mono.Posix being loaded properly so if it's possible to remove the reference to it from PeachPie.Library and move it to another package it would allow submitting UWP app to the Microsoft Store and solve this problem: https://github.com/peachpiecompiler/peachpie/issues/919

ghost avatar May 20 '21 15:05 ghost

Adding PeachPie.Library to WPF/Xamarin.Forms project with .NET Framework as target framework fails because of Mono.Posix

"Failed to add reference. The package 'Mono.Posix.NETStandard' tried to add a framework reference to 'Mono.Posix' which was not found in the GAC. This is possibly a bug in the package. Please contact the package owners for assistance. Reference unavailable."

Solving this issue would allow using PeachPie with the WPF platform

ghost avatar Jul 30 '21 12:07 ghost

Thank you. This is the same issue e.g. as https://github.com/Azure/azure-storage-net-data-movement/issues/201 .

Basically you need to add a reference to Mono.Posix as well, which you can't .. We have to probably remote the use of Mono.Posix.NETStandard from Peachpie.

jakubmisek avatar Jul 30 '21 12:07 jakubmisek