30 June 2012

An attempt was made to load an assembly with an incorrect format microsoft.sharepoint.search.dll

I recently came across the following error message when I gotten compile the project in release - after success in debug

An attempt was made to load an assembly with an incorrect format microsoft.sharepoint.search.dll


The solution is simple

go to Project Properies -> Build ...
and trun off the Generate serialization assembly

Generate serialization assembly

Yours,
Roi

No comments:

Post a Comment