内部编译器错误:请与Microsoft联系。 ILTransformTask失败了。

问题描述:

当我尝试使用.NET本机编译器构建应用程序时出现此错误。

I get this error when I attempt to build the app using the .NET native compiler.

错误  17 内部编译器错误:请与Microsoft联系。 ILTransformTask失败。

Error 17 Internal Compiler Error: Please contact Microsoft. ILTransformTask failed.

错误  18  System.OutOfMemoryException:抛出了类型'System.OutOfMemoryException'的异常。

Error 18 System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.

错误  19 在Microsoft .Cci.UtilityDataStructures.MultiHashtable`1..ctor(UInt32 expectedEntries)

Error 19 at Microsoft.Cci.UtilityDataStructures.MultiHashtable`1..ctor(UInt32 expectedEntries)

错误  20  at Microsoft.Cci.InternFactory.GetMethodReferenceInternedId(IMethodReference methodReference)

Error 20 at Microsoft.Cci.InternFactory.GetMethodReferenceInternedId(IMethodReference methodReference)

请告知。

正在发生的事情,并在未来的开发人员预览中为它创建一个修复程序,如果您愿意与我们分享您项目的IL二进制文件,那就太棒了。

Sorry that you ran into this error with the .NET Native tool chain. In general, the tool chain's analysis of whole programs can wind up with some very large working sets so we do unfortunately sometimes see OutOfMemory issues. In order for us to diagnose what's happening in your case and create a fix for it in a future developer preview, it would be great if you would be willing to share with us the IL binaries for your project.

如果您能够做到这一点,请发送电子邮件至
dotnetnative@Microsoft.com
,我们可以查看您的项目并诊断阻止您的当前预览中的错误

If that's something you're able to do, then please email dotnetnative@Microsoft.com and we can look at your project and diagnose the bug in the current preview that blocks you