You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 1, 2020. It is now read-only.
Opening this issue in here for public tracking. The original comment was here in the PR where I stumbled upon this bug. I've also already sent an email to the .NET Native team with a repro and a sample project that reproduces the issue.
Overview
Using a custom ref T returning delegate seems to trigger a build error on UWP. Consider this snippet:
Creating a blank app and just adding that code results in the following error:
ILT0005: 'C:\Program Files (x86)\Microsoft SDKs\UWPNuGetPackages\runtime.win10-x64.microsoft.net.native.compiler\2.2.8-rel-28605-00\tools\x64\ilc\Tools\nutc_driver.exe @"C:\Users\Sergio\source\repos\FieldAccessorRepro\FieldAccessorRepro\obj\x64\Release\ilc\intermediate\MDIL\FieldAccessorRepro.rsp"' returned exit code 2
You can find a full repro project to download here.
This bug is currently blocking one of the follow up PRs for the Microsoft.Toolkit.Mvvm package (here), as it causes the build to just fail on UWP. I'm hoping this could be solved with some trick/workaround on the UWP side, as I'd really, really like not to be forced to alter the API surface on the .NET Standard side for a specific issue with the .NET Native compiler.
Overview
Using a custom
ref Treturning delegate seems to trigger a build error on UWP. Consider this snippet:Creating a blank app and just adding that code results in the following error:
You can find a full repro project to download here.
This bug is currently blocking one of the follow up PRs for the
Microsoft.Toolkit.Mvvmpackage (here), as it causes the build to just fail on UWP. I'm hoping this could be solved with some trick/workaround on the UWP side, as I'd really, really like not to be forced to alter the API surface on the .NET Standard side for a specific issue with the .NET Native compiler.Thanks in advance! 😊