I've updated Visual Studio 2015 to Update 2. And now .NET Native compiler stops working every time I compile the project. (It works just great for the blank app).
STARTPROCESSTASK : error : Internal compiler Error
error : Method 'A(object)' will always throw an exception due to the missing method 'B'. There may have been a missing assembly.
error : ILT0005: 'C:\Program Files (x86)\MSBuild\Microsoft.NetNative\x86\ilc\Tools\nutc_driver.exe @"C:\Projects\x86\Release\ilc\intermediate\MDIL\App5.rsp"' returned exit code -1073741819
That's actually true that some assemblies are missing but I have a lot of some legacy stuff and I will not get those assemblies. Before Update 2 compiler gave me a warning instead of error and the app ran without any issues.