### Visual Studio 2012 Compiling Native for ARM

Microsoft seem to have done a pretty bad job at stopping you being able to compile desktop applications for Windows RT. As far as I can tell if you add a file called Windows.desktop.arm to C:\Program Files (x86)\Windows Kits\8.0\DesignTime\CommonConfiguration\Neutral containing the following then it allows compilation of desktop applications for ARM. I’ve tested this and got an exe out, and putting it into IDA indicates it is a valid exe.

Code:
<Project xmlns=”http://schemas.microsoft.com/developer/msbuild/2003″&gt;

<PropertyGroup>

<WindowsSDKDesktopARMSupport>true</WindowsSDKDesktopARMSupport>

</PropertyGroup>

</Project>