Bug 132 - Reference only works when using "Shared Runtime".
Summary: Reference only works when using "Shared Runtime".
Status: RESOLVED INVALID
Alias: None
Product: Android
Classification: Xamarin
Component: General ()
Version: 1.0
Hardware: PC Windows
: Highest enhancement
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2011-08-01 12:03 UTC by Kristofer Brigelius
Modified: 2011-08-02 16:39 UTC (History)
2 users (show)

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


Attachments
entire prodject with the references (5.87 MB, application/octet-stream)
2011-08-01 12:03 UTC, Kristofer Brigelius
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 INVALID

Description Kristofer Brigelius 2011-08-01 12:03:21 UTC
Created attachment 46 [details]
entire prodject with the references

I can only use my MySql.Data.dll reference when using shared runtime. without it it cant connect to any mysql databases.
Comment 1 Jonathan Pobst 2011-08-02 16:39:47 UTC
The error from logcat is:

I/MonoDroid(24334): UNHANDLED EXCEPTION: System.NotSupportedException: CodePage
1252 not supported
I/MonoDroid(24334):   at System.Text.Encoding.GetEncoding (Int32 codepage) [0x00
000] in <filename unknown>:0
I/MonoDroid(24334):   at MySql.Data.MySqlClient.Driver..ctor (MySql.Data.MySqlClient.MySqlConnectionStringBuilder settings) [0x00000] in <filename unknown>:0

I guess CodePage 1252 is in I18N.West.  Adding "West" to the additional supported encodings fixes the issue.

(When using the Shared Runtime, all encodings are included by default.)