.NET Native和.netstandard / .NET Core [英] .NET Native and .netstandard/.NET Core

查看:68
本文介绍了.NET Native和.netstandard / .NET Core的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果我有一个C#Windows应用商店应用程序(UWP)配置为在启用.NET Native的情况下进行编译,并且它引用了使用.NET Core或.NETStandard构建的库,那么这里到底发生了什么? 

If I have a C# Windows Store App (UWP) which is configured to compile with .NET Native enabled, and it references libraries built with .NET Core or .NETStandard, what exactly happens here? 

我的非UWP库中的IL是否也重新编译为本机代码,还是保持原样并通过某种互操作层调用?

Is the IL from my non-UWP libraries also recompiled to native code, or is it left as-is and invoked via some kind of interop layer?

假设在所有情况下构建的应用程序可执行文件上启用了.NET Native编译,我能否期望在UWP库中编写的相同C#代码与非UWP库之间存在任何性能差异?

Can I expect any kind of performance difference between the same C# code written in a UWP library versus non-UWP libraries, assuming .NET Native compilation is enabled on the app executable being built in all cases?

推荐答案

Hi Nasai,

Hi Nasai,

感谢您在此发帖。

根据您的说法问题与UWP有关,我会将其移至开发通用Windows应用程序以获得合适的支持。

According to your question is more related to UWP, I will move it to Developing Universal Windows apps for suitable support.

CLR论坛讨论并提出有关.NET Framework基类(BCL)的问题,例如集合,I / O,
Regigistry,Globalization,反思。还讨论构建或扩展.NET Framework的所有其他Microsoft库,包括Managed Extensibility Framework(MEF),Charting Controls,CardSpace,Windows Identity Foundation(WIF),Point of
Sale(POS) ,交易。

最好的问候,

Wendy


这篇关于.NET Native和.netstandard / .NET Core的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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