UWP版本编译错误:ILT0005:'C:\Program Files(x86)\ MSBuild\Microsoft.NetNative\ARM\ilc\tools\Gatekeeper.exe [英] UWP Release compilation error:ILT0005: 'C:\Program Files (x86)\MSBuild\Microsoft.NetNative\ARM\ilc\tools\Gatekeeper.exe

查看:292
本文介绍了UWP版本编译错误:ILT0005:'C:\Program Files(x86)\ MSBuild\Microsoft.NetNative\ARM\ilc\tools\Gatekeeper.exe的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个针对Windows 10移动设备的UWP项目,该项目工作得很好,并且几次没有问题地部署到Windows商店。但是突然它只在这个错误中停止了在发布模式下的编译。需要你的帮助。我花了两天时间在我的VS环境中搞砸
,但没有任何效果。什么错了?

目标版本:Windows 10(10.0; Build 10586

最低版本:Windows 10(10.0; Build 10240)

编译和在Debug中工作正常。
$


ILT0005:'C:\Program Files(x86)\ MSBuild \ Microsoft.NetNative\ARM\ilc\tools \ Gatekeeper.exe @&D; \Think Projects \ThinkUniversal\ThinkUniversal\obj\ARM\Release\ilc\intermediate\gkargs.rsp"'返回退出代码-532462766
未处理的异常:OutOfMemoryException。

Hi, I've a UWP project for windows 10 mobile which was working just fine and deployed to windows store several times without issues. But suddenly it stopped compiling in release mode only with this error. Need your help please. I spent two days messing up my VS environment but nothing worked. Whats wrong?
Target Version: Windows 10(10.0; Build 10586
Min Version: Windows 10(10.0; Build 10240)
Compiles and works fine in Debug.

ILT0005: 'C:\Program Files (x86)\MSBuild\Microsoft.NetNative\ARM\ilc\tools\Gatekeeper.exe @"D:\Think Projects\ThinkUniversal\ThinkUniversal\obj\ARM\Release\ilc\intermediate\gkargs.rsp"' returned exit code -532462766
Unhandled Exception: OutOfMemoryException.

推荐答案

您好,

该错误似乎报告它是与.NET Native相关。您最近是否更改了代码?是否可以在调试模式下启用.NET Native以查看它引发此异常的位置?

The error seems reporting that it was related to .NET Native. Have you changed your code recently? Can you enable .NET Native in debug mode to see where it raised this exception?

请参阅此处以查找复选框,make确定你已经检查过,然后调试你的应用程序:

See here to find out the checkbox, make sure you've checked it and then debug your app:

另一个可能的原因可能与你的环境有关。不太确定你在这里做了什么,但我认为这不是一个msbuild问题。它可能是UWP编码问题或环境问题。

Another possible reason may related to your environment. Not so sure what you have done here, but I think this is not a msbuild issue. It can be a UWP coding problem or a environment problem.

祝你好运,

Barry


这篇关于UWP版本编译错误:ILT0005:'C:\Program Files(x86)\ MSBuild\Microsoft.NetNative\ARM\ilc\tools\Gatekeeper.exe的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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