This is a migrated thread and some comments may be shown as answers.

Compile error ILT0005 with Telerik package 2021.1.119.1

1 Answer 459 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
G
Top achievements
Rank 1
G asked on 09 Feb 2021, 11:21 PM

Ever since we upgraded to the latest Telerik package 2021.1.119.1 we get the following error when we compile in Release mode using .Net Native tool chain. I've redacted paths below.

ILT0005: 'C:\Users\<redacted>\.nuget\packages\runtime.win10-x64.microsoft.net.native.compiler\2.2.9-rel-29512-01\tools\x64\ilc\Tools\nutc_driver.exe @"C:\<redacted>.rsp"' returned exit code 1

1 Answer, 1 is accepted

Sort by
0
Lance | Senior Manager Technical Support
Telerik team
answered on 09 Feb 2021, 11:40 PM

Hello Giancarlo,

That error is unrelated to Telerik UI for Xamarin. Here is a thread from Microsoft that explains one of the most common reasons.

Note: If you are using some sort of GitHub Actions or Azure DevOps to do the build, you will need to increase the memory of the agent/runner. .NETNative build uses a huge amount of memory. Here is an example of how increase the pagefile for the VM that runs the build.

steps:
    - name: Configure Pagefile
      uses: al-cheb/configure-pagefile-action@v1.2
      with:
        minimum-size: 32GB
        maximum-size: 32GB
        disk-root: "C:"

If that doesn't help, here are some other articles:

Worst Case

If you still cannot get past it, then I recommend you uninstall the NuGet package and directly reference the individual DLLs instead. That will keep the compilation size down. Please pay close attention to the required dependencies for each control.

Regards,
Lance | Manager Technical Support
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Tags
General Discussions
Asked by
G
Top achievements
Rank 1
Answers by
Lance | Senior Manager Technical Support
Telerik team
Share this question
or