Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ILT0038 compilation error on UWP with .NET Native #58

Closed
kevcrooks opened this issue Jun 13, 2024 · 2 comments
Closed

ILT0038 compilation error on UWP with .NET Native #58

kevcrooks opened this issue Jun 13, 2024 · 2 comments
Milestone

Comments

@kevcrooks
Copy link

After updating the packager from 1.14.0 to 1.15.0, I'm unable to compile for UWP in release mode (using .NET Native).

I get the following error:

ILT0038: 'SpreadCheetah.CellValues.CellValue' is a value type with a default constructor. Value types with default constructors are not currently supported. Consider using an explicit initialization function instead.

I haven't found a workaround yet to be able to use this package. Is this something that can be fixed, or is there a workaround to get the build running?

@sveinungf
Copy link
Owner

Thanks for the feedback. I'm not that familiar with UWP and I don't know of any workarounds you can use for version 1.15.0. It seems to be the same issue as is being discussed here: dotnet/roslyn#67187.

If there are no good workarounds then I can look into a fix. I will be out travelling for the next weeks, so any new version will have to wait until I'm back. Perhaps the best course of action would be to stay on version 1.14.0 in the meantime.

@sveinungf
Copy link
Owner

This has been fixed in version 1.16.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants