Having problems running my .net project after changing framework to 4.5 from 4.0 -


i opened project , changed it's framework 4.0 4.5 (due stupid firm's restrictions).

there mismatch between processor architecture of project being built   "msil" , processor architecture of reference "my.dataaccesslayer.dimensiondb",  "x86". mismatch may cause runtime failures. please consider changing targeted    processor architecture of project through configuration manager align   processor architectures between project , references, or take dependency on    references processor architecture matches targeted processor architecture of project. 

this warning. when run anyhow, gives me following errors:-

the type or namespace name 'membership' not exist in namespace 'microsoft.aspnet' (are missing assembly reference?)  type or namespace name 'membership' not exist in namespace 'microsoft.aspnet' (are missing assembly reference?) 

etc.

i'll highly appreciate assistance.

thanks

basically, application targeting anycpu, references x86 assemblies.

you should change target x86 resolve these warnings (and allow run successfully).

note that, in 4.5, still run since default includes (new in 4.5) "prefer 32-bit" option, causes anycpu use x86 still.


Comments

Popular posts from this blog

Unable to remove the www from url on https using .htaccess -