Mittwoch, 18. Mai 2011

Cannot generate serialization assembly ... Use /force to force an overwrite

I received this error when trying to deploy something to Sharepoint. The issue seems to be, that the dll is locked by some procedure of the IIS. Just perform in the command line a "iisreset" and try again.
Sometimes you also have to close Visual Studio and re-open after the iisreset and try again.