lex.db
lex.db copied to clipboard
.Net Native Error
I´m using lex.db to load users from the db in a Windows 10 universal app. Whilst I execute it using the normal compiler everything works perfectly. But when selecting the
Compile with .NET Native tool chain
checkbox in the project-> build properties
I get an exception when calling this method:
var person = _placeDb.LoadByKey<Person>(id);
Unhandled exception at 0x02BC8831 (SharedLibrary.dll) in App10.exe: 0x80004005: Unspecified error.
I cloned the repository added a test app, and the method is failing when compiling in native is:
Add(Allocation.New(node));
in the Gather method of the DataMap.cs class
Do you have any idea why could it be?
Regards.
I work on the .NET Native compiler team and stumbled upon this issue. If it's something you're still interested in getting resolved we'd be happy to help. The fastest way is to shoot us an email at [email protected]. Once we know what's happening it's likely that a small fix can be applied to work around whatever the issue is.
Sorry I didn't wander into it earlier :-(
HI Matt,
I will write you guys an email with more details about the project I´m working on and the exceptions.
Regards.
Tom Meschter from MS provided some valuable feedback regarding missing generics in resulting executable.
I hope next week I'll find some time to sort this issue out along with .NET standard support.