Bug #6216 .NET Connector source missing resx files
Submitted: 22 Oct 2004 15:29 Modified: 22 Oct 2004 19:12
Reporter: Michael Eber Email Updates:
Status: Closed Impact on me:
None 
Category:Connector / NET Severity:S2 (Serious)
Version:1.0.0 OS:Microsoft Windows (Windows XP)
Assigned to: Reggie Burnett CPU Architecture:Any

[22 Oct 2004 15:29] Michael Eber
Description:
I downloaded the MySQL Connectors for .NET and attempted to import and compile the source under C# Express 2005.  There are a few forms that were included in the source but the resx files are missing.  This makes it difficult to build under any version of Visual Studio.

How to repeat:
download the .NET connector and unzip into a directory.
browse to that directory and browse to the
src\mysqlclient\common

Two files are immediately seen as forms:
  SqlCommandEditorDlg.cs
  SqlCommandTextEditor.cs

In addition to the cs files, the .resx files should have been included to properly express the controls on the form (location, values, events, etc.).

Without the resx files, it is impossible to compile the source and test the results using the editor/dialog forms.

Suggested fix:
When zipping up this (or any) project that has a form, make sure you include the resx files in the project folder.
[22 Oct 2004 19:12] Reggie Burnett
Thank you for your bug report. This issue has been committed to our
source repository of that product and will be incorporated into the
next release.

If necessary, you can access the source repository and build the latest
available version, including the bugfix, yourself. More information 
about accessing the source trees is available at
    http://www.mysql.com/doc/en/Installing_source_tree.html

Additional info:

I have fixed this by removing the SWF files from the project.  An additional assembly will appear with version 1.1 that will include all designer functionality.
[16 May 2007 4:51] Mike Wilson
Well apparently the fix didn't work because as of May 2007 the 5.0 project still launches looking for Form1.resx, in 2005 express.
[16 May 2007 5:19] Mike Wilson
Then again, just deleting the resx reference works fine.  :)
[16 May 2007 17:22] Reggie Burnett
We'll double check this but this really shouldn't be happening.