Jacob Duval
Jacob Duval

Reputation: 539

Windows store app fails AppContainerCheck

I'm getting the below error when I try to run the app certification test on my windows 8.1 app. I've looked around for a while and can't seem to find any solutions for this. The app is written in C#/xaml which I wasn't aware even had a linker.

I'm hoping that someone can guide me in the right direction on how I should start to investigate an error like this as web searches have thus far failed me

Binary analyzer

•Error Found: The binary analyzer test detected the following errors: ◦File [MyTabletApplication.exe] has failed the AppContainerCheck check.

•Impact if not fixed: If the app doesn’t use the available Windows protections, it can increase the vulnerability of the customer's computer to malware.

•How to fix: Apply the required linker options - SAFESEH, DYNAMICBASE, NXCOMPAT, and APPCONTAINER - when you link the app. See links below for more information:

Upvotes: 8

Views: 1254

Answers (1)

Alberto Rivelli
Alberto Rivelli

Reputation: 2033

If you are using Visual Studio 2015 and this is a new solution/project make sure the 'Compile with .NET Native tool chain' check box is cleared in the startup project properties in the Release configuration.

Upvotes: -1

Related Questions