Bug #76094 .net connector 6.9.5
Submitted: 2 Mar 2015 11:59 Modified: 27 Sep 2022 17:49
Reporter: Patrick Vos Email Updates:
Status: Not a Bug Impact on me:
None 
Category:Connector / NET Severity:S3 (Non-critical)
Version:6.9.5 OS:Any
Assigned to: CPU Architecture:Any
Tags: .net 4

[2 Mar 2015 11:59] Patrick Vos
Description:
When deploying mysql connector 6.9.5 (4.0 version) to a .net 4 environment an error 'Int32 System.Environment.get_CurrentManagedThreadId()'. is thrown. This is a property of .net 4.5.

we make use of the MySqlSimpleMembershipProvider,
It looks like the mysql.web is compiled against 4.5 instead of 4.0 framework.

The  MySqlDatabaseWrapper has a yield statement. Some resources suggest that the yield statement is causing the problem having a build on 4.0 when 4.5 is also installed at the build machine

How to repeat:
use MySqlSimpleMembershipProvider at a 4.0 environment only without 4.5. deploy 4.0 version of mysql.web 6.9.5

Suggested fix:
recompile at 4.0 machine, or change references which are to 4.5 framework
[1 Apr 2015 11:08] Chiranjeevi Battula
Hello Patrick Vos,

Thank you for the bug report.
Verifying based on internal discussion with dev's.

Thanks,
Chiranjeevi.
[27 Sep 2022 17:49] Daniel Valdez
Posted by developer:
 
This is no longer a bug. Verified against latest release, 8.0.30.