Should VS11 templates abandon the WinRT application certificate suite?

I am running a preview of Windows 8 with the beta version of Visual Studio 11 installed.

When I create a new WinRT / Metro application, compile it and run the application certification suite in this empty application, it no longer works due to calls to GetModuleFileNameW , GetModuleHandleW , LoadLibraryExW , LoadLibraryW and lstrlenA .

I searched the entire source tree for these calls, but cannot find them. This makes me think that they can be found in libraries imported into the template project.

I could not find any instructions as to whether this is a problem for Visual Studio Beta, the application certification suite, or if I should take some action myself. Can anyone enlighten me?

+6
source share
1 answer

Most likely, you are analyzing the Debug assembly of your Metro style application. Before starting the Windows Application Certificate Set (WACK), be sure to create and deploy it with the Release settings.

If you try to run WACK in the Debug assembly, other tests should also fail, including the “Test debugging application” test, which should tell you that “binary [image name] is embedded in debug mode” and that “The application should not install no debugging files. "

In the default layout settings, the "Again in Windows Security Features" function should also fail because SafeSEH is not enabled in debug builds.

+6
source

Source: https://habr.com/ru/post/911026/


All Articles