JB so it looks MS has changed a reserved value in the DLLCHARACTERISTICS headers. So it is now used.
So the header is here http://msdn.microsoft.com/en-us/library/windows/desktop/ms680339(v=vs.85).aspx >From the VS11 SDK headers \Program Files (x86)\Windows Kits\8.0\Include\um\winnt.h this is the value #define IMAGE_DLLCHARACTERISTICS_APPCONTAINER 0x1000 // Image should execute in an AppContainer So to get it working on Metro I took a guess and I hacked cecil\Mono.Cecil.PE\ImageWriter.cs changed line 270 from WriteUInt16 (0x8540); to WriteUInt16(0x9560); I can only assume that for all previous versions of .net had this hard coded. This seems to fix the issue for the guys. -- -- mono-cecil
