Amaro Manungu
Amaro Manungu

Reputation: 61

SQLITE in xamarin forms

I get some example but it's show more error

could share a link I can to follow for to create a database registration forms

Severity Code Description Project File Line Suppression State

Error The "ResolveLibraryProjectImports" task failed unexpectedly. System.IO.FileNotFoundException: Could not load assembly 'Todo, Version=0.0.0.0, Culture=neutral, PublicKeyToken='. Perhaps it doesn't exist in the Mono for Android profile? File name: 'Todo.dll' at Java.Interop.Tools.Cecil.DirectoryAssemblyResolver.Resolve(AssemblyNameReference reference, ReaderParameters parameters) at Java.Interop.Tools.Cecil.DirectoryAssemblyResolver.Resolve(String fullName) at Xamarin.Android.Tasks.ResolveLibraryProjectImports.Extract(DirectoryAssemblyResolver res, ICollection1 jars, ICollection1 resolvedResourceDirectories, ICollection1 resolvedAssetDirectories, ICollection1 resolvedEnvironments) at Xamarin.Android.Tasks.ResolveLibraryProjectImports.Execute() at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute() at Microsoft.Build.BackEnd.TaskBuilder.d__26.MoveNext() Todo.Android

Upvotes: 0

Views: 126

Answers (2)

Sreejith Sree
Sreejith Sree

Reputation: 3716

For the local database implementation use the following blog. It is very easy and a sample zip file is also available. https://www.c-sharpcorner.com/article/mobile-local-databases-in-xamarin-forms-using-sqlite/

Upvotes: 0

Diomedes Domínguez
Diomedes Domínguez

Reputation: 1101

Sometimes, the YouTubers omits/cuts some steps in the editing process. Try following the official documentation https://learn.microsoft.com/en-us/xamarin/xamarin-forms/app-fundamentals/databases

Your error looks like your Todo project hasn't build successfully, that's why you are getting "Version=0.0.0.0" on the Exception's Stack.

Upvotes: 0

Related Questions