Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Binary analyzer clrcompression.dll has failed the AppContainerCheck check #26572

Closed
KalpeshChheda opened this issue Jun 22, 2018 · 6 comments
Closed

Comments

@KalpeshChheda
Copy link

Hi @ericstj I am facing same issue with my app
on Windows App Certification Kit - Test Results

Binary analyzer
Error Found: The binary analyzer test detected the following errors:
File C:\Program Files\windowsapps\myapp.app_1.1.29.0_x86__d0tm94ngvvywp\clrcompression.dll has failed the AppContainerCheck check.
File C:\Program Files\windowsapps\myapp.app_1.1.29.0_x86__d0tm94ngvvywp\clrjit.dll has failed the AppContainerCheck check.

I have tried with compile with .net native tool chain and as well as with x86, x64

I am using windows 10 SDK 17134.
VS 2017 15.7.4.
TargetPlatformVersion 10.0.17134.0
TargetPlatformMinVersion 10.0.16299.0

Its is difficult to reproduce the issue. I have attached project.assets.json.

https://1drv.ms/u/s!AmKlqP-mcmxagepLCnK7hDz5wzHsjA

@ericstj
Copy link
Member

ericstj commented Jun 22, 2018

/cc @zamont @joperezr

clrjit.dll: This appears to be a problem with a reference to Microsoft.NETCore.Portable.Compatibility from the GoodsMan project. Microsoft.NETCore.Portable.Compatibility is no longer needed in UAP10.0.16299 as this functionality is now part of the framework. You can simply remove this reference.

clrcompression.dll: This looks ok, I only see this coming from the runtime.win10-x86-aot.Microsoft.NETCore.UniversalWindowsPlatform/6.1.5 package, I double checked it and it does indeed have the appcontainer bit. Are you sure you are publishing the .NETNative version of the application? I'd expect this error if you happened to try to publish the debug/non-NETNative version of the app.

@KalpeshChheda
Copy link
Author

Thanks @ericstj
Build with .NETNative version is not having clrcompression.dll issue. And after removing Microsoft.NETCore.Portable.Compatibility from GoodsMan remove the error with clrjit.dll as well.
Thanks.

@hardikphd
Copy link

hardikphd commented Nov 13, 2018

@KalpeshChheda @ericstj When I build release version of x64 for Windows App Store with .NETNative flag, It does not give clrcompression.dll issue while performing Windows Certification Kit check but Application later on crashes with #25843 (https://github.com/dotnet/corefx/issues/29016)

@hardikphd
Copy link

@KalpeshChheda @ericstj Issue is resolved for me when you upgrade "Microsoft.NETCore.UniversalWindowsPlatform" to 6.2.2

@andygikling
Copy link

It fixed me too. Removed Microsoft.NETCore.Portable.Compatibility...

@wtgodbe
Copy link
Member

wtgodbe commented Feb 22, 2019

Sounds like this is resolved, closing.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

6 participants