Can I use a .net 4.0 dll assembly reference in a .net 3.5 sharepoint web part? -


i using dll's crm 2011 sdk in .net 3.5 web part.the target sharepoint 2010 online. when try build gives me following error:

the primary reference "microsoft.xrm.client" not resolved because built against ".netframework,version=v4.0" framework.

this higher version targeted framework ".netframework,version=v3.5". visualwebpartprojectwebservicetest.

i cannot upgrade web part .net 4.0 because sharepoint 2010 not supporting .net 4.0. there other solution reference .net 4.0 dlls in .net 3.5 sharepoint webpart?

i no, can't use .net framework 4.0 dll in 3.5 yes in other way around. there few workarounds achieve this, in little different way. check these following posts further reference:

can use .net 4.0 dll in 3.5 project?

how can use .net 4.0 code in c# project built using .net framework 3.5?

making call .net 4 library 3.5


Comments

Popular posts from this blog

SPSS keyboard combination alters encoding -

Add new record to the table by click on the button in Microsoft Access -

CSS3 Transition to highlight new elements created in JQuery -