visual studio 2010 - Getting Error.. Could Not Load File or Assembly 'System.Drawing,Version 4.0.0.0, Culture=natural...' error while converting from .net 4.0 to .net 3.5 -


i new windows desktop application development.

i have created application using visual - studio 2010 in have used 1 form data entry. 1 form report viewer control , report(.rdlc) file report drawn.

my problem want make application compatible dot net framework 3.5. that, have changed target framework 3.5 'advanced compile options...' project properties. getting error when run application after changing target framework 3.5 :

could not load file or assembly 'system.drawing, version=4.0.0.0, culture=neutral, publickeytoken=b03f5f7f11d50a3a' or 1 of dependencies. system cannot find file specified. line 123, position 5. c:\users\amir\desktop\bill_system\bill_system\bill_system\my project\resources.resx billing_system

how tackle error?

please help. in advance.

it ratty problem resources, can tell exception message, take dependency on framework version. not changed changing target version of project.

open resources.resx file in text editor, notepad do. search "4.0.0.0" , change "2.0.0.0". might not fix problem, resources binary serialized , embedded base64 encoded string in .resx file. you'll recognize them long string. you'll need fix visual studio resource editor, remove them , add them back.


Comments

Popular posts from this blog

sql - VB.NET Operand type clash: date is incompatible with int error -

SVG stroke-linecap doesn't work for circles in Firefox? -

python - TypeError: Scalar value for argument 'color' is not numeric in openCV -