Where's the .NET native?

Jack picture Jack · Apr 6, 2015 · Viewed 7.9k times · Source

I was excited about the idea to compile C# code to native machine code downloaded the .NET native and intalled it. But I can't configure my build to compile to neither x86 nor x64. In fact, no other than "any CPU" arch is available:

enter image description here

Here's the VS about:

enter image description here

Edit: When I came to install, I selected this features:

enter image description here

Answer

André Pena picture André Pena · Apr 6, 2015

That's because your application is a Windows Forms application. From the docs:

This developer preview currently enables building apps for Windows Store on ARM and x64 architectures (stay tuned for x86.) .NET Native will soon enable a consistent and converged experience across devices. Today's preview supports Windows Store applications. We will continue to evolve and improve native compilation for the range of .NET applications.