If you get this error check if ~/bin/Composite.dll got overwritten by another version of the assembly - this may happen during Visual Studio's compile. If you have different versions of Composite.dll in your web project and your code project, and you have "copy local" in your code project reference, building your project will pull in the assembly referenced by the code project and overwrite the one in the web project.
To fix this:
To fix this:
- Restore Composite.dll in your webproject to the correct version (check if this also happened to other assemblies)
-
In your code project, make sure "copy local" is set to false on our assemblies - this should prevent them from being copied to the web project