How can I compile a .NET application to native code?

Let's say I want to run a .NET application on a machine where the .NET framework is not available; is there any way to compile the application to native code?