[UWP]通用Windows应用程序包不会发出IL。替补是什么? [英] [UWP]Universal windows app package does not emit IL. What is the alternate?

查看:59
本文介绍了[UWP]通用Windows应用程序包不会发出IL。替补是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我了解Windows 10在阅读此博客后所经历的变化。

I understand the changes Windows 10 has gone through after reading this blog.

http://blogs.msdn.com/b/dotnet/archive/2015/07 /30/universal-windows-apps-in-net.aspx

http://blogs.msdn.com/b/dotnet/archive/2015/07/30/universal-windows-apps-in-net.aspx

看起来像与以前为Windows Phone 8.1构建的应用程序包不同,通用窗口应用程序包不会发出MSIL代码。编译机制似乎已经改变了
中的新.Net Native编译器,它是在非常优化的本地机器代码中生成应用程序包的地方,而不是MSIL。

我想知道是否存在任何可用于访问IL代码的工具或构建命令包为
生成
通用窗口应用程序

I would like to know if any tool or build command exist which I can use to access the IL code before package is generated for Universal window applications.

请告诉我。

推荐答案

>>看起来像Universal窗口与以前为Windows Phone 8.1构建的应用程序包不同,应用程序包不会发出MSIL代码...

当您创建Appx包以提交到Windows应用商店时,appx包仍然包含MSIL。然后Windows应用商店为您执行.NET Native编译。请参阅"UWP应用程序使用CoreCLR for Debug和.NET Native for Release-> Store
提交"您提供的链接部分以获取更多信息:
http://blogs.msdn.com/b/dotnet/archive/2015/07/30/universal-windows-apps-in-net.aspx

When you create an Appx package for submission to the Windows Store, the appx bundle still contains MSIL. The Windows Store then does a .NET Native compilation for you. Please see the "UWP apps use CoreCLR for Debug and .NET Native for Release->Store submission" section of the link you supplied for more information: http://blogs.msdn.com/b/dotnet/archive/2015/07/30/universal-windows-apps-in-net.aspx

VB和C#编译器继续以MSIL格式发出DLL,当你在调试模式下构建你的UWP应用程序时,它使用新的".NET Core CLR"。运行。

The VB and C# compilers continue to emit DLLs in MSIL format and when you build your UWP app in Debug mode it uses the new ".NET Core CLR" runtime.

希望有所帮助。

请记住通过将有用的帖子标记为答案来关闭你的主题,然后如果你有一个新的主题新问题。请不要在同一个帖子中提出几个问题。

Please remember to close your threads by marking helpful posts as answer and then start a new thread if you have a new question. Please don't ask several questions in the same thread.


这篇关于[UWP]通用Windows应用程序包不会发出IL。替补是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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