I'm using the preview of the UWP library to build my app but I'm having some problems with the .Net Native compiler.
I can build the app in Debug mode and it runs perfectly fine, so I can confirm that this is not a problem with my code.
I posted a question on StackOverflow with the compiler errors I get when building a Store Package (and every time I compile using the .Net Native toolchain) with Visual Studio: .Net Native compiler crash - StackOverflow
I managed to get in contact with a guy from the Microsoft .Net Native team and I sent him a repro of the project, here is his answer:
"So you have a bunch of
files in here that are *.rd.xml. I don’t actually think you need any of them
except the one that is Properties\Default.rd.xml. The rd.xml files help provide
hints to the native compiler about what kinds of things you’d like it to
generate. In the case of the Telerik ones, it’s saying please provide
Serialization code for all of my Telerik types. This is most likely unnecessary
and, in fact, causing the serialization generator to choke and die horribly."
"Those rd.xml files are probably in the Telerik packages VS will only
create a Default.rd.xml for new UWP applications not for class libraries. You
can probably just delete them from the set of stuff you got from Telerik. I’m
happy to talk to any Telerik folks about this if you have a contact you can
point me to."
I tried to manually delete the *rd.xml files from the library folder, but then the app couldn't even compile in debug mode.
I was wondering if you were aware of this issue and/or if it has already been fixed in the upcoming first official release of the Telerik UWP library.
I've been working on an app for more than a month and I haven't been able to release a single beta due to this problem,I hope you guys can help me :)
I'll be happy to forward the email of the .Net Native guy to you if you want to talk to him about this issue.
Let me know if you need any other details and I'll be happy to help
Have a nice day!