I am upgrading MOSS2007 solution to SP2013. Everything is fine When I am building the solution at that time it is building successgully. But when I am trying to publish the solution at that time it is throwing following error:
The type or namespace name 'xxx' does not exist in the namespace 'xxx' (are you missing an assembly reference?)
I have tried many things but no luck. Is there any solution for this error?