I am quite new to Windows Phone dev, I am following the tutorial on the link below in which it has been explained that how one can use existing SQLite DB with WP.
When I run it with my DB, I get error at the line:
System.IO.Stream src = Application.GetResourceStream(new Uri("/" + assemblyName + ";component/" + dbName, UriKind.Relative)).Stream;
I have tried solving it by breaking it down, but it did not help me. Any help is appreciated. This is how it was mentioned in tutorial, I also change the name of the DB accordingly, but ap crashes. Please help me and pull me out of this. Thanks.
You should make sure that:
Build Actionof the database file is set toResource