我对这个想法很兴奋 compile C# code to native machine code
下载了.NET native
并安装它。但是我无法将我的构建配置为既不编译为 x86 也不编译为 x64。事实上,除了“任何 CPU”arch 之外别无他法:
这是关于:
编辑:当我来安装时,我选择了这个功能:
最佳答案
那是因为您的应用程序是 Windows 窗体
应用程序。来自文档:
This developer preview currently enables building apps for Windows Store on ARM and x64 architectures (stay tuned for x86.) .NET Native will soon enable a consistent and converged experience across devices. Today's preview supports Windows Store applications. We will continue to evolve and improve native compilation for the range of .NET applications.
关于c# - .NET native 在哪里?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29462993/