I'm sorry, maybe I didn't explain myself properly. Like I said on my first post, I first got the package from Nuget. It was only after I got the error that I downloaded the source from github. But I believe I found the issue. My application used to run on .NET framework 4.0 but in order to use CBLite I went to the project's properties and changed framework to .NET 4.5. I tested the application and everything was working normally so I downloaded CBLite from Nuget and included it in the project. Apparently when you change the .NET Framework version of a project from 4.0 to 4.5 and then include CBLite it will always throw that exception. But if you create a new .NET 4.5 application from scratch and include CBLite it will work. I'm currently not home and didn't test this extensively but I think you should be able to reproduce the issue, in all the tests that I've done, that was what happened. I don't know if this is a bug with CBLite or VS2013 itself, but for now, it seems like the only solution is to re-create the whole application from scratch on .NET 4.5.
On Sunday, January 4, 2015 7:16:36 PM UTC, Zachary Gramana wrote: > > I would suggest just using the Nuget package. > > On Jan 4, 2015, at 12:10 AM, Jsparrow <[email protected] <javascript:>> > wrote: > > Hello, thank you for your assistance. I have a WPF C# application > running on .NET 4.5 and I downloaded the source from github, did > clean+build and the build was completed with no errors, but unfortunately I > still get the same error :/ > I rebuilt it on a trial version of VS2013 Ultimate so I don't know if that > caused any issues. I think I've rebuilt it correctly. If this issue can be > fixed by rebuilding, would one of you guys mind to rebuild it correctly and > provide me with the .dll? > > Domingo, 4 de Janeiro de 2015 1:32:35 UTC, Zachary Gramana escreveu: >> >> I haven’t Internet access in quite a while, but I happened to be >> sitting in a Starbucks in rural Georgia getting our Unified API component >> submission in before the deadline tonight. ;) >> >> Yes, it does support Windows .NET 4.5 applications (for most people, >> that will be WPF, console, or ASP.NET <http://asp.net/>). >> >> The error you’re getting should go away with a rebuild. SQLite is not a >> standard lib on Windows, and we depend on a package to provide it (Eric >> Sink’s excellent SQLitePCL.raw). Sometimes VS inexplicably cleans it out of >> the bin folder. A rebuild (clean + build) seems to fix it. >> >> >> On Jan 3, 2015, at 8:23 PM, Jens Alfke <[email protected]> wrote: >> >> >> On Jan 2, 2015, at 4:31 AM, Jsparrow <[email protected]> wrote: >> >> Am I doing something wrong or does Couchbase Lite not support Windows >> applications? Is Couchbase Lite for mobile apps only? >> >> >> I don't work on the .NET version, but I believe it only supports >> Xamarin (MonoTouch) right now. Have you looked through the readme or the >> archives of this list? >> Hopefully Zack can provide a definitive answer. >> >> —Jens >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Couchbase Mobile" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/mobile-couchbase/65749445-1E1A-446E-8A93-9CADF0F01E89%40couchbase.com >> >> <https://groups.google.com/d/msgid/mobile-couchbase/65749445-1E1A-446E-8A93-9CADF0F01E89%40couchbase.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> >> >> > -- > You received this message because you are subscribed to the Google Groups > "Couchbase Mobile" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected] <javascript:>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/mobile-couchbase/b60dd7bc-f0f1-4492-8ff2-31667b203e8a%40googlegroups.com > > <https://groups.google.com/d/msgid/mobile-couchbase/b60dd7bc-f0f1-4492-8ff2-31667b203e8a%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > > > -- You received this message because you are subscribed to the Google Groups "Couchbase Mobile" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/mobile-couchbase/50ab2749-a60e-4cb7-9382-c41b7b8e1274%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
