Bug #16610 SharpZipLib dll a fixed .NET version
Submitted: 18 Jan 2006 15:54 Modified: 18 May 2006 7:15
Reporter: Jacob Cagley Email Updates:
Status: No Feedback Impact on me:
None 
Category:Connector / NET Severity:S3 (Non-critical)
Version:mysql-connector-net-1.0.7 OS:Any (All)
Assigned to: CPU Architecture:Any

[18 Jan 2006 15:54] Jacob Cagley
Description:
The SharpZipLib needs to be compiled along with the MySql library so that the versions will be the same.  If you compile in Mono, then you need a Mono compiled version of SharpZipLib.  Otherwise, you need to have dotNet 1.1 installed to manage the SharpZipLib and then the other to handle the MySql library.

Also, in the project library MySql.Data.csproj, the references link to both v1.1 and v1.0 of the framework.

How to repeat:

                <Reference
                    Name = "System"
                    AssemblyName = "System"
                    HintPath = "C:\WINDOWS\Microsoft.NET\Framework\v1.0.3705\System.dll"
                />
                <Reference
                    Name = "System.Data"
                    AssemblyName = "System.Data"
                    HintPath = "C:\WINDOWS\Microsoft.NET\Framework\v1.0.3705\System.Data.dll"
                />
                <Reference
                    Name = "System.XML"
                    AssemblyName = "System.Xml"
                    HintPath = "C:\WINDOWS\Microsoft.NET\Framework\v1.0.3705\System.XML.dll"
                />
                <Reference
                    Name = "System.Design"
                    AssemblyName = "System.Design"
                    HintPath = "C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\System.Design.dll"
                />
                <Reference
                    Name = "System.Drawing"
                    AssemblyName = "System.Drawing"
                    HintPath = "C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\System.Drawing.dll"
                />

Suggested fix:
Since I have dotNet 2002, I would want to change the links to point to that version.  To get the SharpZipLib to be in the version that the build creates, it needs to be compiled along with the mysql library.

                <Reference
                    Name = "System"
                    AssemblyName = "System"
                    HintPath = "C:\WINDOWS\Microsoft.NET\Framework\v1.0.3705\System.dll"
                />
                <Reference
                    Name = "System.Data"
                    AssemblyName = "System.Data"
                    HintPath = "C:\WINDOWS\Microsoft.NET\Framework\v1.0.3705\System.Data.dll"
                />
                <Reference
                    Name = "System.XML"
                    AssemblyName = "System.Xml"
                    HintPath = "C:\WINDOWS\Microsoft.NET\Framework\v1.0.3705\System.XML.dll"
                />
                <Reference
                    Name = "System.Design"
                    AssemblyName = "System.Design"
                    HintPath = "C:\WINDOWS\Microsoft.NET\Framework\v1.0.3705\System.Design.dll"
                />
                <Reference
                    Name = "System.Drawing"
                    AssemblyName = "System.Drawing"
                    HintPath = "C:\WINDOWS\Microsoft.NET\Framework\v1.0.3705\System.Drawing.dll"
                />
[18 Apr 2006 7:15] Tonci Grgin
Hi. Thanks for your report. Can you please try with the latest release.
[18 May 2006 23:00] Bugs System
No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".