Hi Luccas. I also ran into this while experimenting with the framework. Unfortunately it does not seem like .NET Native is currently supported. It’s coming though!
Meanwhile you could use a newer .NET Framework 4.6 or similar. Then porting the code should be fairly simple once .NET Core comes out.