lex.db
lex.db copied to clipboard
UWP release build error
First of all thank you for your storage solution I have used it many times and works great, however in my current project after building in release I get the following error:
Exception thrown: 'Internal.Runtime.TypeLoader.TypeBuilder.MissingTemplateException' in System.Private.TypeLoader.dll Exception thrown: 'System.Reflection.MissingMetadataException' in System.Private.CoreLib.dll Additional information: Reflection_InsufficientMetadata_EdbNeeded: Lex.Db.Serialization.ListSerializers<System.Guid>
Have you came across something similar?
Looks like .Net Native didn't include some reflection information needed for dynamic serialization emit.
There should be a way to tell .Net Native which classes should be reflectable.
Have to dig into .Net Native now. Of course MS didn't test .Net Native with third party libs like Lex.DB. Of course, they have more important goals to achieve by introducing breaking changes without proper communication upfront...
-----Original Message----- From: "Arpad Barta" [email protected] Sent: 15.10.2015 11:23 To: "demigor/lex.db" [email protected] Subject: [lex.db] UWP release build error (#34)
First of all thank you for your storage solution I have used it many times and works great, however in my current project after building in release I get the following error: Exception thrown: 'Internal.Runtime.TypeLoader.TypeBuilder.MissingTemplateException' in System.Private.TypeLoader.dll Exception thrown: 'System.Reflection.MissingMetadataException' in System.Private.CoreLib.dll Additional information: Reflection_InsufficientMetadata_EdbNeeded: Lex.Db.Serialization.ListSerializers Have you came across something similar? — Reply to this email directly or view it on GitHub.
Also when build release of my app, the first run is ok, added data ok but the second time run the app, it can't get any data.
Just stumbled upon this issue too. Until now I tested and debugged the UWP in debug mode (obviously) but now when I rebuild the app in Release mode the whole thing crashes with the above exception. It also states that it is missing the Lazy.cs file.
Locating source for 'f:\dd\ndp\fxcore\src\System.Private.CoreLib\System\Lazy.cs'. (No checksum.)
The file 'f:\dd\ndp\fxcore\src\System.Private.CoreLib\System\Lazy.cs' does not exist.
Looking in script documents for 'f:\dd\ndp\fxcore\src\System.Private.CoreLib\System\Lazy.cs'...
Looking in the projects for 'f:\dd\ndp\fxcore\src\System.Private.CoreLib\System\Lazy.cs'.
***The file was not found in a project.***
The thing is.. I don't even have a 'f' drive. So I think something is off in the LexDb build. Not sure what though.. Any solutions yet? I'm building on the current latest version being 1.2.6
These are MS path folders. It mismatches Lazy.cs from Lex.Db with built-in MS one. Looking into it
Ah wonderfull. Looking forward to your findings, thanks in advance!
Could you provide me a call stack? I simply cannot find any reflection, dynamic instantiation etc related to Lazy types.