question

seihyungoh avatar image
0 Votes"
seihyungoh asked RoyLi-MSFT commented

questions about app certification result

Hello,

I have a question about the result of app certification kit.

High-DPI support


DPIAwarenessValidation
Warning: The DPI-awareness validation test detected following Warnings:
File PayEstPractice\PayEstPractice.exe neither has PerMonitorV2 manifested in the manifest nor calls into DPI Awareness APIs for ex: user32!SetProcessDpiAwarenessContext or user32!SetThreadDpiAwarenessContext.
The app ea0dafc4-5378-4122-93cc-93f677510669_1.0.0.0_x64__pc9wxyff6ectt is not DPI Aware.
Impact if not fixed: Apps that are not DPI-aware but are running on a high-DPI display setting can exhibit incorrect scaling of UI elements, clipped text, and blurry images.
How to fix: It is recommended that you declare your app as DPI-aware in the app manifest. Otherwise, app should use DPI Awareness API calls for example:either SetProcessDpiAwarenessContext or SetThreadDpiAwarenessContext APIs.

I searched app. manifest file but I didn't find where should I declare it.

debug configuration Test


Debug configuration
Error Found: The debug configuration test detected the following errors:
The binary Microsoft.Web.WebView2.Core.dll is built in debug mode.
Impact if not fixed: Microsoft Store doesn’t allow a debug version of an app.
How to fix: Please make sure the app isn’t linking to any debug versions of a framework and it is built with release configuration with optimization enabled. If this is a managed app please make sure you have installed the correct version of .NET framework.

Package sanity test

Error Found: The blocked executables test has detected the following errors:
File PayEstPractice\PenImc_cor3.dll contains a reference to a "Launch Process" related API shell32.dll!ShellExecuteExW
File PayEstPractice\System.Diagnostics.PerformanceCounter.dll contains a reference to a "Launch Process" related API System.Diagnostics.Process.Start
File PayEstPractice\mscordbi.dll contains a reference to a "Launch Process" related API kernel32.dll!CreateProcessW
File PayEstPractice\coreclr.dll contains a reference to a "Launch Process" related API kernel32.dll!CreateProcessW
File PayEstPractice\System.Windows.Forms.Primitives.dll contains a reference to a "Launch Process" related API shell32.dll!ShellExecuteW
File PayEstPractice\UIAutomationTypes.dll contains a reference to a "Launch Process" related API shell32.dll!ShellExecuteA
File PayEstPractice\UIAutomationTypes.dll contains a reference to a "Launch Process" related API shell32.dll!ShellExecuteEx
File PayEstPractice\Microsoft.VisualBasic.Forms.dll contains a reference to a "Launch Process" related API kernel32.dll!CreateProcessA
File PayEstPractice\WindowsBase.dll contains a reference to a "Launch Process" related API shell32.dll!ShellExecuteA
File PayEstPractice\WindowsBase.dll contains a reference to a "Launch Process" related API shell32.dll!ShellExecuteEx
File PayEstPractice\dbgshim.dll contains a reference to a "Launch Process" related API kernel32.dll!CreateProcessW
File PayEstPractice\System.CodeDom.dll contains a reference to a "Launch Process" related API System.Diagnostics.Process.Start
File PayEstPractice\PresentationUI.dll contains a reference to a "Launch Process" related API System.Diagnostics.Process.Start
File PayEstPractice\System.Diagnostics.Process.dll contains a reference to a "Launch Process" related API kernel32.dll!CreateProcessW
File PayEstPractice\System.Diagnostics.Process.dll contains a reference to a "Launch Process" related API shell32.dll!ShellExecuteExW
File PayEstPractice\PresentationFramework.dll contains a reference to a "Launch Process" related API shell32.dll!ShellExecuteEx
File PayEstPractice\Microsoft.Xaml.Behaviors.dll contains a reference to a "Launch Process" related API System.Diagnostics.Process.Start
File PayEstPractice\System.Windows.Forms.dll contains a reference to a "Launch Process" related API shell32.dll!ShellExecuteW
File PayEstPractice\System.Windows.Forms.dll contains a reference to a "Launch Process" related API System.Diagnostics.Process.Start
File PayEstPractice\PayEstPractice.exe contains a reference to a "Launch Process" related API shell32.dll!ShellExecuteW
File clrjit.dll contains a blocked executable reference to "bash".
File D3DCompiler_47_cor3.dll contains a blocked executable reference to "cmd".
File D3DCompiler_47_cor3.dll contains a blocked executable reference to "Reg".
File MaterialDesignThemes.Wpf.dll contains a blocked executable reference to "Bash".
File MaterialDesignThemes.Wpf.dll contains a blocked executable reference to "Powershell".
File Microsoft.CSharp.dll contains a blocked executable reference to "cSI".
File Microsoft.DiaSymReader.Native.x86.dll contains a blocked executable reference to "cmd".
File Microsoft.VisualBasic.Core.dll contains a blocked executable reference to "cSI".
File PresentationCore.dll contains a blocked executable reference to "cSi".
File PresentationCore.dll contains a blocked executable reference to "cmd".
File PresentationFramework.dll contains a blocked executable reference to "reG".
File PresentationFramework.dll contains a blocked executable reference to "CSI".
File ReachFramework.dll contains a blocked executable reference to "reG".
File ReachFramework.dll contains a blocked executable reference to "cSI".
File System.CodeDom.dll contains a blocked executable reference to "cmd".
File System.Collections.Immutable.dll contains a blocked executable reference to "cSi".
File System.Configuration.ConfigurationManager.dll contains a blocked executable reference to "cSI".
File System.Data.Common.dll contains a blocked executable reference to "cSI".
File System.DirectoryServices.dll contains a blocked executable reference to "cSi".
File System.Drawing.Common.dll contains a blocked executable reference to "cSi".
File System.Drawing.Primitives.dll contains a blocked executable reference to "CSI".
File System.Linq.Expressions.dll contains a blocked executable reference to "csi".
File System.Linq.Parallel.dll contains a blocked executable reference to "cSi".
File System.Net.Sockets.dll contains a blocked executable reference to "cmd".
File System.Net.Sockets.dll contains a blocked executable reference to "cSi".
File System.Private.CoreLib.dll contains a blocked executable reference to "dnX".
File System.Private.CoreLib.dll contains a blocked executable reference to "CSI".
File System.Private.DataContractSerialization.dll contains a blocked executable reference to "reg".
File System.Private.DataContractSerialization.dll contains a blocked executable reference to "cSI".
File System.Private.Uri.dll contains a blocked executable reference to "cSi".
File System.Private.Xml.dll contains a blocked executable reference to "reg".
File System.Private.Xml.dll contains a blocked executable reference to "CDb".
File System.Private.Xml.dll contains a blocked executable reference to "cSI".
File System.Reflection.Metadata.dll contains a blocked executable reference to "cSI".
File System.Runtime.Numerics.dll contains a blocked executable reference to "CSI".
File System.Runtime.Serialization.Formatters.dll contains a blocked executable reference to "cSI".
File System.Security.AccessControl.dll contains a blocked executable reference to "cSI".
File System.Security.Cryptography.Algorithms.dll contains a blocked executable reference to "cSi".
File System.Security.Cryptography.Cng.dll contains a blocked executable reference to "cSi".
File System.Security.Cryptography.Pkcs.dll contains a blocked executable reference to "cSI".
File System.Security.Cryptography.X509Certificates.dll contains a blocked executable reference to "rEG".
File System.Threading.Tasks.Dataflow.dll contains a blocked executable reference to "cSi".
File System.Windows.Forms.Design.dll contains a blocked executable reference to "reg".
File System.Windows.Forms.Design.dll contains a blocked executable reference to "cmd".
File System.Windows.Forms.Design.dll contains a blocked executable reference to "cSi".
File System.Windows.Forms.dll contains a blocked executable reference to "cmd".
File System.Windows.Forms.dll contains a blocked executable reference to "cSi".
File System.Windows.Forms.Primitives.dll contains a blocked executable reference to "cmd".
File System.Windows.Forms.Primitives.dll contains a blocked executable reference to "CSI".
File ucrtbase.dll contains a blocked executable reference to "cmd.exe".
File UIAutomationClient.dll contains a blocked executable reference to "CSI".
File UIAutomationClientSideProviders.dll contains a blocked executable reference to "cmd".
File UIAutomationClientSideProviders.dll contains a blocked executable reference to "cSI".
File WindowsBase.dll contains a blocked executable reference to "cSI".

Impact if not fixed: Launching executable files is restricted on Windows 10 S systems. Apps that rely on this capability might not run correctly on Windows 10 S systems.

How to fix: Identify which of the flagged entries represent a call to launch an executable file that is not part of your app and remove those calls. If the flagged files are part of your application, you may ignore the warning.

If someone give me an advice to fix these errors, I'd be very appreciated.

thanks,

c00012

partner-center-submission
· 7
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

There are how to fix parts in the error report. If you are desktop bridge apps, you could check this link: Microsoft store certification fails due to DPI awareness. For the secode issue ,it seems that you are trying to launch some executable that is not allowed due to the Store policy. Please remove such functions.


0 Votes 0 ·

Hello RoyLi,

  • I fixed DPI issue and debug issue. but in package sanity test issue, I couldn't figure out where should I start . if you have any suggestion, please let me know.

  • I tried to submit my app to see what error message come out. error message says:

    1. You must upload at least one package. If you are using market groups, then each market group must have at least one package: I submitted package. but validation program says like this. what this mean?

    2. You must provide a package that supports each selected device family (or uncheck the box for unsupported device families). Note that targeting the Xbox device family requires a neutral or x64 package: I selected PC only. I didn't select anything. What this mean?

I read these messages several times but I couldn't understand what are they taliking about. please explain this message to me.

thanks,

c00012

FYI> My app is not an UWP app but WPF app.



0 Votes 0 ·

The error message means you need to uncheck device families that your package does not support. Some devices will be selected by default, you have to check it by yourself since you are not a native UWP app(which supports these device families by default).

0 Votes 0 ·
Show more comments

0 Answers