View Ticket
Not logged in
Ticket UUID: 133daf50d6910d5564138eccd192ed14aa64f398
Title: Wrong manifest resource name: Linq segment is missing
Status: Closed Type: Code_Defect
Severity: Critical Priority: Immediate
Subsystem: LINQ Resolution: Fixed
Last Modified: 2013-01-01 19:31:40
Version Found In:
Exception while using Entity Framework. Exception occurs after fixing version problem by changing to correct one (ticket 6489c5a396) This ticket contains no steps to reproduce but already steps to fix (sorry for mess). After applying this fixing and fix for ticket 6489c5a396, my tests all passed.


internal static XmlReader GetXmlResource(string resourceName)

Assembly executingAssembly = Assembly.GetExecutingAssembly();
Stream stream = executingAssembly.GetManifestResourceStream(resourceName);
return XmlReader.Create(stream); // HERE stream IS NULL!!!!!

FIX in sqlite-dotnetsrc-1007200\System.Data.SQLite.Linq\SQLiteProviderManifest.cs

(Insert correct ".Linq" segment in the name of resource in 3 places of usage):

internal static XmlReader GetProviderManifest()

return GetXmlResource("System.Data.SQLite.Linq.Resources.SQLiteProviderServices.ProviderManifest.xml");

private XmlReader GetStoreSchemaMapping()

return GetXmlResource("System.Data.SQLite.Linq.Resources.SQLiteProviderServices.StoreSchemaMapping.msl");
private XmlReader GetStoreSchemaDescription()
return GetXmlResource("System.Data.SQLite.Linq.Resources.SQLiteProviderServices.StoreSchemaDefinition.ssdl");

shane added on 2011-05-24 01:19:05 UTC:
Fixed by [9ce4a2e044].