Bug #58039 | .Net Connector 6.3.5 not compiling | ||
---|---|---|---|
Submitted: | 8 Nov 2010 0:12 | Modified: | 9 Jun 2011 22:07 |
Reporter: | Adriano Oliveira | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | Connector / NET | Severity: | S3 (Non-critical) |
Version: | OS: | Any | |
Assigned to: | Tony Bedford | CPU Architecture: | Any |
[8 Nov 2010 0:12]
Adriano Oliveira
[8 Nov 2010 8:17]
Tonci Grgin
Hi Adriano and thanks for your report. I see no bug here but rather it's a doc request to make http://dev.mysql.com/doc/refman/5.5/en/connector-net-installation-source.html usable. So I'm assigning docs team.
[27 Dec 2010 10:43]
Tanguy Gilmont
You get this error because the assembly needs signing. In order to do that, 1) open the project properties (in this case, MySql.Data properties), 2) open the "Signing" tab in the property window, 3) check the "Sign the assembly" option, 4) either choose a strong name key file, or make a new one for test purposes (you can simply type in a new key filename without password). Then you can compile the project again, this time it should succeed.
[27 Dec 2010 11:07]
Tanguy Gilmont
For the first error, you obviously need to install the WiX Toolset, and if you are using VisualStudio 2010 you will need version 3.5 (which is currently not stable but good enough). http://wix.codeplex.com/ For some reason I'm getting errors with that one, but this is only to build the installer so it is not really important for testing / debugging the connector.
[19 Oct 2011 20:46]
Sridurga Sambasivarao
To solve this error do the following. 1) Run VS 2010 in Administrator mode (Right click VS 2010, Run as Administrator) 2) Sign your assembly (Right click assembly, Properties, Signing, Check Sign Assembly, From drop down select new, Enter strong name, uncheck password) 3) Rebuild assembly. (If did not succeed, please close solution and restart VS2010 in admin mode)