Open ghost opened 3 years ago
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
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.
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