- Sponsor
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SQLite.SQLiteException: duplicate column name #435
Comments
I'm also getting the same error with a very simple class |
Problem solved! |
Thanks for the suggestion newtoncw, but setting Sdk Assemblies Only was not an option for us. So I instead went with a Execute that will do an explicit CREATE Table. This works well on all platforms. |
@masterjs how did you do that? Did you manually write out SQL queries? |
I am seeing this issue still. Link SDK assemblies only works for me too, so there must be something we need to preserve in the linking. |
This is still not a great solution but:
|
I will try adding the https://developer.xamarin.com/guides/ios/advanced_topics/linker/#Preserving_Code |
I'm having the following error in my application, using Xamarin in Android: SQLite.SQLiteException: duplicate column name IdSettings.
Here is my code:
And here is the stack trace from Android:
This occurs in the first run of the application, and I think that the method MigrateTable should not run.
The text was updated successfully, but these errors were encountered: