System.Data.SQLite

Login
This project makes use of Eagle, provided by Mistachkin Systems.
Eagle: Secure Software Automation
2013-01-01
19:31 Closed ticket [133daf50d6]: Wrong manifest resource name: Linq segment is missing plus 2 other changes artifact: 7246c92392 user: mistachkin
2011-07-07
04:49 Ticket [133daf50d6]: 1 change artifact: 1f9071a6c9 user: mistachkin
2011-05-27
01:13 Closed ticket [e050921520]: ProviderManifest.xml not found plus 3 other changes artifact: 482f6566a9 user: shane
2011-05-24
01:19 Fixed ticket [133daf50d6]: Wrong manifest resource name: Linq segment is missing plus 3 other changes artifact: 8e99e40b32 user: shane
01:17
Correct System.Data.SQLite.Linq version and resource information. Fix for [6489c5a396] and [133daf50d6]. check-in: 9ce4a2e044 user: shaneh tags: trunk
2011-05-10
09:32 New ticket [133daf50d6] Wrong manifest resource name: Linq segment is missing. artifact: b085772d31 user: anonymous

Ticket Hash: 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: 1.0.72.0
Description:
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.

PROBLEM:

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].