[UWP] UWP应用程序使用.net本机工具链编译 - 全部损坏

人气:907 发布:2022-09-22 标签: wpdevelop

问题描述

我在Windows商店发布了我的UWP应用程序,当我尝试发布新功能时,强制.net工具链编译。但是一旦我的应用程序使用.net工具链编译,它就不起作用,所有UI和控制器功能都破裂了。编译需要花费100倍的时间更慢,并且不确定我可以做什么来修复,因为没有任何帮助是什么错误。

I have my UWP app posted on Windows store and when I try to publish for new feature ,its forcing .net tool chain compile. But once my app compile with .net tool chain ,it doesn't work , all UI and controller functinality broke. Compilation takes 100 time slower and not sure what I can do to fix as no help on whats wrong.

没有办法提交带有.net工具链编译的应用程序????

Is there no way to submit app with out .net tool chain compilation ????

干杯

推荐答案

.Net Native是必需的(for。网络应用程序 - 显然不适用于本机或HTML应用程序)。您可以在以下网址找到有关故障排除.Net原生错误的信息:https://docs.microsoft.com/en-us/dotnet/framework/net-native/net-native-general-troubleshooting和https://docs.microsoft。 com / en-us / dotnet / framework / net-native / migrating-your-windows-store-app-to-net-native 。大多数问题都涉及反射,可以通过将缺少的类信息添加到rd.xml文件来修复。

.Net Native is required (for .Net apps - obviously not for native or HTML apps). You can find info on troubleshooting .Net Native errors athttps://docs.microsoft.com/en-us/dotnet/framework/net-native/net-native-general-troubleshooting and https://docs.microsoft.com/en-us/dotnet/framework/net-native/migrating-your-windows-store-app-to-net-native . Most problems involve reflection and can be fixed by adding the missing class info to your rd.xml file.

如果您需要特定问题的帮助,请发布具有特定症状的新线程以及需要帮助的错误。

If you need help with specific issues please post a new thread with the specific symptom and error that you need help with.

461