Skip to content

ImageSharp fails to build on UWP Release x86 #987

@Sergio0694

Description

@Sergio0694

Prerequisites

  • I have written a descriptive issue title
  • I have verified that I am running the latest version of ImageSharp
  • I have verified if the problem exist in both DEBUG and RELEASE mode
  • I have searched open and closed issues to ensure it has not already been reported

Description

So, it looks like I might have claimed victory too soon on this one 😅
This is a follow up from #828 (pinging @MattWhilden again, I'm so sorry).
With the latest .NETCore.UWP NuGet package (version 6.2.9) it looks like ImageSharp can now run just fine in Release x64, but not in Release x86.
Whenever I try to build in Release x86, I get the following:

ILT0005: 'C:\Users\Sergio.nuget\packages\runtime.win10-x86.microsoft.net.native.compiler\2.2.7-rel-27913-00\tools\x86\ilc\Tools\nutc_driver.exe @"C:\Users\Sergio\Documents\GitHub\Legere\src\Legere\obj\x86\Release\ilc\intermediate\MDIL\Legere.rsp"' returned exit code -1073740791

Once again, this looks like some issue with the .NET Native compiler itself, due to that ILT0005 error code, which is typically associated with internal compiler errors (as per .NET Native docs).

This happens both in my app and in an empty repro project (see point below).

@JimBobSquarePants @antonfirsov Looks like we'll have to hold off on considering ImageSharp as fully UWP-compatible for a little longer 😕

Steps to Reproduce

  • Create an empty UWP project (I'm targeting SDK17763)
  • Reference ImageSharp (I'm using the latest version, 1.0.0-beta0006)
  • Build in Release x86

System Configuration

  • ImageSharp version: 1.0.0-beta0006
  • Other ImageSharp packages and versions: n/a
  • Environment (Operating system, version and so on): Windows 10 Pro 18362.365 x64
  • .NET Framework version: n/a
  • Additional information: n/a

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions