[UWP]构建和打包UWP应用程序,无需“使用.Net本机工具链编译” [英] [UWP]Building and Packaging UWP app without 'Compile with .Net native toolchain'

查看:57
本文介绍了[UWP]构建和打包UWP应用程序,无需“使用.Net本机工具链编译”的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发一个大型的UWP应用程序。我们已经构建了应用程序并且它工作正常,除非我们尝试使用'Compile with .Net native toolchain is enabled'来构建。

I am working on a big UWP application. We already built the application and it is working fine unless we try to build with 'Compile with .Net native toolchain is enabled'.

是否有必要使用.net Native toolchain进行编译?或者我们可以构建应用程序并使用.Net本地编译部署到应用程序商店(或侧载)吗?

Is it necessary to compile with .net Native toolchain? or can we build the application and deploy to the app store (or sideload) with compiling with .Net native?

谢谢,

推荐答案

嗨Walaa Alkerdy,

Hi Walaa Alkerdy,

>>"是否有必要编译使用.net Native工具链?"

>>" Is it necessary to compile with .net Native toolchain?"

是。

>>"或者我们可以构建应用程序并部署到应用程序商店(或侧载)并使用.Net native进行编译吗?"

您当然可以使用.NET编译本土。

You certainly could compile with .NET Native.

.NET Native是一种用于构建和部署Visual Studio 2015附带的Windows应用程序的预编译技术。它自动编译使用托管代码编写的应用程序的发布版本( C#或Visual Basic)并将
.NET Framework和Windows 10定位到本机代码。

.NET Native将Windows应用程序直接编译为本机那么,代码,您的应用程序将提供本机代码的卓越性能。快速的执行时间,始终如一的快速启动时间,低部署和更新成本,优化的应用程序内存使用率。

因此,如果您想将应用程序发布到Windows应用商店,那么必须通过WACK,WACK将检查.NET Native。

So, if you want to publish your app to windows store, you would have to pass the WACK, the WACK will check the .NET Native.

然后,我看到你说"我们已经构建了应用程序,它工作正常,除非我们尝试构建编译.Net本机工具链已启用"。你有任何错误信息吗?

Then, I saw that you say "We already built the application and it is working fine unless we try to build with Compile with .Net native toolchain is enabled". Have you got any error information?

我建议你需要做的是
.NET Native General Troubleshooting

这是一篇关于
.NET Native - 对于通用Windows平台(UWP)开发人员
意味着什么,供您参考。 

Here’s a blog about .NET Native – What it means for Universal Windows Platform (UWP) developers for your reference. 

最好的问候,

Xavier Eoro

Xavier Eoro


这篇关于[UWP]构建和打包UWP应用程序,无需“使用.Net本机工具链编译”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆