Click here to Skip to main content
15,883,336 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Please help on following error

The type 'System.ComponentModel.DesignerSerializationVisibility' exists in both c:\Program Files\
Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.dll'
and
'c:\Program Files\MySQL\MySQL Connector Net 6.8.3\Assemblies\v2.0\MySql.Data.CF.dll'


thanx in advance
Posted
Comments
Suvendu Shekhar Giri 23-Jul-15 3:57am    
I am not sure if it will work but a possible solution may be to make sure that in web.config, you have not placed more than one reference for System.ComponentModel.DesignerSerializationVisibility.

Also try cleaning the solution and try rebuilding once again.
ven.in 23-Jul-15 4:22am    
no its not working, thank you for reply @Giri
ven.in 23-Jul-15 5:44am    
Hey please any one give solution of this problem...its urgent...

1 solution

hi..solved the problem, i was mixing a two assemblies references. v2.0 and v4.0.
I changed the version to v4.0 and problem is solved. thanks.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900