Magick.NET-Q16-x64.Native.dll has failed the AppContainerCheck check.
See original GitHub issueHi., I’m building a UWP app with C# with an intention of submitting it to the Windows Store by using Visual Studio. It uses Magick.NET-Q16-AnyCPU and everything works as expected while debugging. Later, I decided to test it on other computers by side loading it. So, I created app packages for only side loading it on other computers and then as usual Visual Studio started Windows App Certification Kit Tests. In those tests the app filed in Windows security features test and Supported API tests as follows.
File C:\Program Files\windowsapps\83c39297-4a6c-486b-995d-7f75296cbf54_1.0.0.0_x64__24yr1j80r71jt\Magick.NET-Q16-x64.Native.dll has failed the AppContainerCheck check.
and the list follows.,
API ScriptIsComplex in usp10.dll is not supported for this application type. Magick.NET-Q16-x64.Native.dll calls this API.
API ScriptItemize in usp10.dll is not supported for this application type. Magick.NET-Q16-x64.Native.dll calls this API.
API ScriptPlace in usp10.dll is not supported for this application type. Magick.NET-Q16-x64.Native.dll calls this API.
API ScriptShape in usp10.dll is not supported for this application type. Magick.NET-Q16-x64.Native.dll calls this API.
API BitBlt in gdi32.dll is not supported for this application type. Magick.NET-Q16-x64.Native.dll calls this API.
API CreateBitmapIndirect in gdi32.dll is not supported for this application type. Magick.NET-Q16-x64.Native.dll calls this API.
API CreateCompatibleBitmap in gdi32.dll is not supported for this application type. Magick.NET-Q16-x64.Native.dll calls this API.
API CreateCompatibleDC in gdi32.dll is not supported for this application type. Magick.NET-Q16-x64.Native.dll calls this API.
API CreateDCA in gdi32.dll is not supported for this application type. Magick.NET-Q16-x64.Native.dll calls this API.
API CreateDIBSection in gdi32.dll is not supported for this application type. Magick.NET-Q16-x64.Native.dll calls this API.
API CreateFontIndirectW in gdi32.dll is not supported for this application type. Magick.NET-Q16-x64.Native.dll calls this API.
API CreateRectRgn in gdi32.dll is not supported for this application type. Magick.NET-Q16-x64.Native.dll calls this API.
API CreateSolidBrush in gdi32.dll is not supported for this application type. Magick.NET-Q16-x64.Native.dll calls this API.
API DeleteDC in gdi32.dll is not supported for this application type. Magick.NET-Q16-x64.Native.dll calls this API.
API DeleteObject in gdi32.dll is not supported for this application type. Magick.NET-Q16-x64.Native.dll calls this API.
API EnumFontFamiliesExW in gdi32.dll is not supported for this application type. Magick.NET-Q16-x64.Native.dll calls this API.
API ExtCreateRegion in gdi32.dll is not supported for this application type. Magick.NET-Q16-x64.Native.dll calls this API.
API ExtSelectClipRgn in gdi32.dll is not supported for this application type. Magick.NET-Q16-x64.Native.dll calls this API.
API ExtTextOutW in gdi32.dll is not supported for this application type. Magick.NET-Q16-x64.Native.dll calls this API.
API GdiFlush in gdi32.dll is not supported for this application type. Magick.NET-Q16-x64.Native.dll calls this API.
API GetCharWidth32A in gdi32.dll is not supported for this application type. Magick.NET-Q16-x64.Native.dll calls this API.
API GetClipBox in gdi32.dll is not supported for this application type. Magick.NET-Q16-x64.Native.dll calls this API.
API GetClipRgn in gdi32.dll is not supported for this application type. Magick.NET-Q16-x64.Native.dll calls this API.
API GetDeviceCaps in gdi32.dll is not supported for this application type. Magick.NET-Q16-x64.Native.dll calls this API.
API GetFontData in gdi32.dll is not supported for this application type. Magick.NET-Q16-x64.Native.dll calls this API.
API GetFontUnicodeRanges in gdi32.dll is not supported for this application type. Magick.NET-Q16-x64.Native.dll calls this API.
API GetGlyphIndicesW in gdi32.dll is not supported for this application type. Magick.NET-Q16-x64.Native.dll calls this API.
API GetGlyphOutlineA in gdi32.dll is not supported for this application type. Magick.NET-Q16-x64.Native.dll calls this API.
API GetGlyphOutlineW in gdi32.dll is not supported for this application type. Magick.NET-Q16-x64.Native.dll calls this API.
API GetGraphicsMode in gdi32.dll is not supported for this application type. Magick.NET-Q16-x64.Native.dll calls this API.
API GetObjectA in gdi32.dll is not supported for this application type. Magick.NET-Q16-x64.Native.dll calls this API.
API GetOutlineTextMetricsA in gdi32.dll is not supported for this application type. Magick.NET-Q16-x64.Native.dll calls this API.
API GetTextMetricsA in gdi32.dll is not supported for this application type. Magick.NET-Q16-x64.Native.dll calls this API.
API GetWorldTransform in gdi32.dll is not supported for this application type. Magick.NET-Q16-x64.Native.dll calls this API.
API IntersectClipRect in gdi32.dll is not supported for this application type. Magick.NET-Q16-x64.Native.dll calls this API.
API ModifyWorldTransform in gdi32.dll is not supported for this application type. Magick.NET-Q16-x64.Native.dll calls this API.
API RealizePalette in gdi32.dll is not supported for this application type. Magick.NET-Q16-x64.Native.dll calls this API.
API RestoreDC in gdi32.dll is not supported for this application type. Magick.NET-Q16-x64.Native.dll calls this API.
API SaveDC in gdi32.dll is not supported for this application type. Magick.NET-Q16-x64.Native.dll calls this API.
API SelectClipRgn in gdi32.dll is not supported for this application type. Magick.NET-Q16-x64.Native.dll calls this API.
API SelectObject in gdi32.dll is not supported for this application type. Magick.NET-Q16-x64.Native.dll calls this API.
API SelectPalette in gdi32.dll is not supported for this application type. Magick.NET-Q16-x64.Native.dll calls this API.
API SetBkMode in gdi32.dll is not supported for this application type. Magick.NET-Q16-x64.Native.dll calls this API.
API SetGraphicsMode in gdi32.dll is not supported for this application type. Magick.NET-Q16-x64.Native.dll calls this API.
API SetMapMode in gdi32.dll is not supported for this application type. Magick.NET-Q16-x64.Native.dll calls this API.
API SetTextAlign in gdi32.dll is not supported for this application type. Magick.NET-Q16-x64.Native.dll calls this API.
API SetTextColor in gdi32.dll is not supported for this application type. Magick.NET-Q16-x64.Native.dll calls this API.
API SetWorldTransform in gdi32.dll is not supported for this application type. Magick.NET-Q16-x64.Native.dll calls this API.
API StretchDIBits in gdi32.dll is not supported for this application type. Magick.NET-Q16-x64.Native.dll calls this API.
API CryptGenRandom in advapi32.dll is not supported for this application type. Magick.NET-Q16-x64.Native.dll calls this API.
API DeregisterEventSource in advapi32.dll is not supported for this application type. Magick.NET-Q16-x64.Native.dll calls this API.
API GetFileSecurityW in advapi32.dll is not supported for this application type. Magick.NET-Q16-x64.Native.dll calls this API.
API GetUserNameW in advapi32.dll is not supported for this application type. Magick.NET-Q16-x64.Native.dll calls this API.
API RegCloseKey in advapi32.dll is not supported for this application type. Magick.NET-Q16-x64.Native.dll calls this API.
API RegCreateKeyExW in advapi32.dll is not supported for this application type. Magick.NET-Q16-x64.Native.dll calls this API.
API RegDeleteValueW in advapi32.dll is not supported for this application type. Magick.NET-Q16-x64.Native.dll calls this API.
API RegEnumKeyA in advapi32.dll is not supported for this application type. Magick.NET-Q16-x64.Native.dll calls this API.
API RegEnumKeyExW in advapi32.dll is not supported for this application type. Magick.NET-Q16-x64.Native.dll calls this API.
API RegEnumValueA in advapi32.dll is not supported for this application type. Magick.NET-Q16-x64.Native.dll calls this API.
API RegEnumValueW in advapi32.dll is not supported for this application type. Magick.NET-Q16-x64.Native.dll calls this API.
API RegNotifyChangeKeyValue in advapi32.dll is not supported for this application type. Magick.NET-Q16-x64.Native.dll calls this API.
API RegOpenKeyExA in advapi32.dll is not supported for this application type. Magick.NET-Q16-x64.Native.dll calls this API.
API RegOpenKeyExW in advapi32.dll is not supported for this application type. Magick.NET-Q16-x64.Native.dll calls this API.
API RegQueryValueExA in advapi32.dll is not supported for this application type. Magick.NET-Q16-x64.Native.dll calls this API.
API RegQueryValueExW in advapi32.dll is not supported for this application type. Magick.NET-Q16-x64.Native.dll calls this API.
API RegSetValueExW in advapi32.dll is not supported for this application type. Magick.NET-Q16-x64.Native.dll calls this API.
API RegisterEventSourceA in advapi32.dll is not supported for this application type. Magick.NET-Q16-x64.Native.dll calls this API.
API ReportEventA in advapi32.dll is not supported for this application type. Magick.NET-Q16-x64.Native.dll calls this API.
API CompareStringW in kernel32.dll is not supported for this application type. Magick.NET-Q16-x64.Native.dll calls this API.
API CreateFileMappingA in kernel32.dll is not supported for this application type. Magick.NET-Q16-x64.Native.dll calls this API.
API CreateFileW in kernel32.dll is not supported for this application type. Magick.NET-Q16-x64.Native.dll calls this API.
API CreateToolhelp32Snapshot in kernel32.dll is not supported for this application type. Magick.NET-Q16-x64.Native.dll calls this API.
API DebugBreak in kernel32.dll is not supported for this application type. Magick.NET-Q16-x64.Native.dll calls this API.
API EnumSystemLocalesW in kernel32.dll is not supported for this application type. Magick.NET-Q16-x64.Native.dll calls this API.
API ExitProcess in kernel32.dll is not supported for this application type. Magick.NET-Q16-x64.Native.dll calls this API.
API FindResourceA in kernel32.dll is not supported for this application type. Magick.NET-Q16-x64.Native.dll calls this API.
API FreeResource in kernel32.dll is not supported for this application type. Magick.NET-Q16-x64.Native.dll calls this API.
API GetDateFormatW in kernel32.dll is not supported for this application type. Magick.NET-Q16-x64.Native.dll calls this API.
API GetModuleHandleA in kernel32.dll is not supported for this application type. Magick.NET-Q16-x64.Native.dll calls this API.
API GetModuleHandleExW in kernel32.dll is not supported for this application type. Magick.NET-Q16-x64.Native.dll calls this API.
API GetModuleHandleW in kernel32.dll is not supported for this application type. Magick.NET-Q16-x64.Native.dll calls this API.
API GetNumberOfConsoleInputEvents in kernel32.dll is not supported for this application type. Magick.NET-Q16-x64.Native.dll calls this API.
API GetOEMCP in kernel32.dll is not supported for this application type. Magick.NET-Q16-x64.Native.dll calls this API.
API GetShortPathNameW in kernel32.dll is not supported for this application type. Magick.NET-Q16-x64.Native.dll calls this API.
API GetStartupInfoA in kernel32.dll is not supported for this application type. Magick.NET-Q16-x64.Native.dll calls this API.
API GetStartupInfoW in kernel32.dll is not supported for this application type. Magick.NET-Q16-x64.Native.dll calls this API.
API GetThreadLocale in kernel32.dll is not supported for this application type. Magick.NET-Q16-x64.Native.dll calls this API.
API GetTimeFormatW in kernel32.dll is not supported for this application type. Magick.NET-Q16-x64.Native.dll calls this API.
API GetUserDefaultLCID in kernel32.dll is not supported for this application type. Magick.NET-Q16-x64.Native.dll calls this API.
API GetVersion in kernel32.dll is not supported for this application type. Magick.NET-Q16-x64.Native.dll calls this API.
API GetVolumePathNameW in kernel32.dll is not supported for this application type. Magick.NET-Q16-x64.Native.dll calls this API.
API GetWindowsDirectoryW in kernel32.dll is not supported for this application type. Magick.NET-Q16-x64.Native.dll calls this API.
API GlobalMemoryStatus in kernel32.dll is not supported for this application type. Magick.NET-Q16-x64.Native.dll calls this API.
API IsValidLocale in kernel32.dll is not supported for this application type. Magick.NET-Q16-x64.Native.dll calls this API.
API LCMapStringW in kernel32.dll is not supported for this application type. Magick.NET-Q16-x64.Native.dll calls this API.
API LoadLibraryA in kernel32.dll is not supported for this application type. Magick.NET-Q16-x64.Native.dll calls this API.
API LoadLibraryExW in kernel32.dll is not supported for this application type. Magick.NET-Q16-x64.Native.dll calls this API.
API LoadLibraryW in kernel32.dll is not supported for this application type. Magick.NET-Q16-x64.Native.dll calls this API.
API LoadResource in kernel32.dll is not supported for this application type. Magick.NET-Q16-x64.Native.dll calls this API.
API LockResource in kernel32.dll is not supported for this application type. Magick.NET-Q16-x64.Native.dll calls this API.
API MapViewOfFile in kernel32.dll is not supported for this application type. Magick.NET-Q16-x64.Native.dll calls this API.
API Module32First in kernel32.dll is not supported for this application type. Magick.NET-Q16-x64.Native.dll calls this API.
API Module32Next in kernel32.dll is not supported for this application type. Magick.NET-Q16-x64.Native.dll calls this API.
API PeekConsoleInputA in kernel32.dll is not supported for this application type. Magick.NET-Q16-x64.Native.dll calls this API.
API ReadConsoleInputA in kernel32.dll is not supported for this application type. Magick.NET-Q16-x64.Native.dll calls this API.
API RtlCaptureContext in kernel32.dll is not supported for this application type. Magick.NET-Q16-x64.Native.dll calls this API.
API RtlVirtualUnwind in kernel32.dll is not supported for this application type. Magick.NET-Q16-x64.Native.dll calls this API.
API SetHandleInformation in kernel32.dll is not supported for this application type. Magick.NET-Q16-x64.Native.dll calls this API.
API SizeofResource in kernel32.dll is not supported for this application type. Magick.NET-Q16-x64.Native.dll calls this API.
API UnhandledExceptionFilter in kernel32.dll is not supported for this application type. Magick.NET-Q16-x64.Native.dll calls this API.
API SHFileOperationW in shell32.dll is not supported for this application type. Magick.NET-Q16-x64.Native.dll calls this API.
API SHGetFileInfoW in shell32.dll is not supported for this application type. Magick.NET-Q16-x64.Native.dll calls this API.
API SHGetPathFromIDListW in shell32.dll is not supported for this application type. Magick.NET-Q16-x64.Native.dll calls this API.
API SHGetSpecialFolderLocation in shell32.dll is not supported for this application type. Magick.NET-Q16-x64.Native.dll calls this API.
API CloseClipboard in user32.dll is not supported for this application type. Magick.NET-Q16-x64.Native.dll calls this API.
API EmptyClipboard in user32.dll is not supported for this application type. Magick.NET-Q16-x64.Native.dll calls this API.
API EnumDisplayDevicesA in user32.dll is not supported for this application type. Magick.NET-Q16-x64.Native.dll calls this API.
API FillRect in user32.dll is not supported for this application type. Magick.NET-Q16-x64.Native.dll calls this API.
API GetClipboardData in user32.dll is not supported for this application type. Magick.NET-Q16-x64.Native.dll calls this API.
API GetDC in user32.dll is not supported for this application type. Magick.NET-Q16-x64.Native.dll calls this API.
API MessageBoxA in user32.dll is not supported for this application type. Magick.NET-Q16-x64.Native.dll calls this API.
API MsgWaitForMultipleObjectsEx in user32.dll is not supported for this application type. Magick.NET-Q16-x64.Native.dll calls this API.
API OpenClipboard in user32.dll is not supported for this application type. Magick.NET-Q16-x64.Native.dll calls this API.
API PeekMessageA in user32.dll is not supported for this application type. Magick.NET-Q16-x64.Native.dll calls this API.
API PostMessageA in user32.dll is not supported for this application type. Magick.NET-Q16-x64.Native.dll calls this API.
API ReleaseDC in user32.dll is not supported for this application type. Magick.NET-Q16-x64.Native.dll calls this API.
API SetClipboardData in user32.dll is not supported for this application type. Magick.NET-Q16-x64.Native.dll calls this API.
API SystemParametersInfoA in user32.dll is not supported for this application type. Magick.NET-Q16-x64.Native.dll calls this API.
API DnsFree in dnsapi.dll is not supported for this application type. Magick.NET-Q16-x64.Native.dll calls this API.
API DnsQuery_A in dnsapi.dll is not supported for this application type. Magick.NET-Q16-x64.Native.dll calls this API.
API URLDownloadToFileA in urlmon.dll is not supported for this application type. Magick.NET-Q16-x64.Native.dll calls this API.
API GdipAlloc in gdiplus.dll is not supported for this application type. Magick.NET-Q16-x64.Native.dll calls this API.
API GdipBitmapLockBits in gdiplus.dll is not supported for this application type. Magick.NET-Q16-x64.Native.dll calls this API.
API GdipBitmapUnlockBits in gdiplus.dll is not supported for this application type. Magick.NET-Q16-x64.Native.dll calls this API.
API GdipCloneImage in gdiplus.dll is not supported for this application type. Magick.NET-Q16-x64.Native.dll calls this API.
API GdipCreateBitmapFromScan0 in gdiplus.dll is not supported for this application type. Magick.NET-Q16-x64.Native.dll calls this API.
API GdipDeleteGraphics in gdiplus.dll is not supported for this application type. Magick.NET-Q16-x64.Native.dll calls this API.
API GdipDisposeImage in gdiplus.dll is not supported for this application type. Magick.NET-Q16-x64.Native.dll calls this API.
API GdipDrawImageRectI in gdiplus.dll is not supported for this application type. Magick.NET-Q16-x64.Native.dll calls this API.
API GdipFree in gdiplus.dll is not supported for this application type. Magick.NET-Q16-x64.Native.dll calls this API.
API GdipGetImageGraphicsContext in gdiplus.dll is not supported for this application type. Magick.NET-Q16-x64.Native.dll calls this API.
API GdipGetImageHeight in gdiplus.dll is not supported for this application type. Magick.NET-Q16-x64.Native.dll calls this API.
API GdipGetImageHorizontalResolution in gdiplus.dll is not supported for this application type. Magick.NET-Q16-x64.Native.dll calls this API.
API GdipGetImageVerticalResolution in gdiplus.dll is not supported for this application type. Magick.NET-Q16-x64.Native.dll calls this API.
API GdipGetImageWidth in gdiplus.dll is not supported for this application type. Magick.NET-Q16-x64.Native.dll calls this API.
API GdipGraphicsClear in gdiplus.dll is not supported for this application type. Magick.NET-Q16-x64.Native.dll calls this API.
API GdipLoadImageFromFile in gdiplus.dll is not supported for this application type. Magick.NET-Q16-x64.Native.dll calls this API.
API GdipSetInterpolationMode in gdiplus.dll is not supported for this application type. Magick.NET-Q16-x64.Native.dll calls this API.
API GdipSetSmoothingMode in gdiplus.dll is not supported for this application type. Magick.NET-Q16-x64.Native.dll calls this API.
API GdipSetTextRenderingHint in gdiplus.dll is not supported for this application type. Magick.NET-Q16-x64.Native.dll calls this API.
API GdiplusShutdown in gdiplus.dll is not supported for this application type. Magick.NET-Q16-x64.Native.dll calls this API.
API GdiplusStartup in gdiplus.dll is not supported for this application type. Magick.NET-Q16-x64.Native.dll calls this API.
I googled for the issue but not found any clue, so i’m here. My app targets both min and target version to 10.0.16299.91.
Issue Analytics
- State:
- Created 5 years ago
- Comments:11 (3 by maintainers)
Top GitHub Comments
What is your question? Magick.NET needs to call those methods because the native library needs them. Your app will not pass the Windows Store Certification - and there’s sadly nothing you can do about that.
@jjouppi Thank you very much, I will test this approach.