Bug 43284 - Warning as Error issue with Mono.Data.Sqlite
Summary: Warning as Error issue with Mono.Data.Sqlite
Status: RESOLVED NOT_REPRODUCIBLE
Alias: None
Product: Android
Classification: Xamarin
Component: Mono runtime / AOT Compiler ()
Version: 6.1.2 (C7SR1)
Hardware: Macintosh Mac OS
: --- normal
Target Milestone: ---
Assignee: Jonathan Pryor
URL:
Depends on:
Blocks:
 
Reported: 2016-08-11 16:04 UTC by Dan Harris
Modified: 2017-06-27 20:35 UTC (History)
2 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:


Attachments
Mono.Data.Sqlite version error (47.21 KB, image/png)
2016-08-11 16:04 UTC, Dan Harris
Details
Ignoring warning (116.44 KB, image/png)
2016-08-15 15:51 UTC, Dan Harris
Details
Edit References (244.18 KB, image/png)
2016-08-15 15:52 UTC, Dan Harris
Details


Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED NOT_REPRODUCIBLE

Description Dan Harris 2016-08-11 16:04:46 UTC
Created attachment 16991 [details]
Mono.Data.Sqlite version error

With the option "Treat Warnings as Errors" set, we get the error in the attachment. Our TeamCity build machine does not experience this issue. We've replaced Mono.Data.Sqlite 4.0.0.0 with 2.0.5.0 to bypass the issue but it caused other problems. Anyway, we're not certain how to fix it. Thanks!
Comment 1 Jonathan Pryor 2016-08-14 13:26:59 UTC
Please provide a project which demonstrates the issue.

At present, this makes no sense to me. Where is "Mono.Data.Sqlite 4.0.0.0" coming from? That would presumably be in the *system* Mono.framework install, but why would that be referenced by a Xamarin.Android project? (It shouldn't be.)

Diagnostic build output would also be useful.
Comment 2 Dan Harris 2016-08-15 15:51:55 UTC
Created attachment 17030 [details]
Ignoring warning
Comment 3 Dan Harris 2016-08-15 15:52:38 UTC
Created attachment 17031 [details]
Edit References
Comment 4 Dan Harris 2016-08-15 15:59:48 UTC
We decided to ignore the warning in the project file.

I attached a screenshot of our fix and a screenshot of our edit references screen showing the Sqlite 4.0.0.0.

Unfortunately we don't have time to research this right now and it doesn't affect our build machine anyway so it's a low priority.

If this error appears again in other projects and becomes a nuisance, I'll upload the diagnostic build output as you asked.
Comment 5 John Miller [MSFT] 2017-06-27 20:35:25 UTC
Unfortunately, we’re unable to reproduce this report. If this issue is still occurring for you, please reopen this issue and attach a reproduction to the bug by starting with a clean Xamarin.Android project adding just the code necessary to demonstrate the issue.