I have upgraded a Visual studio 2010 solution to visual studio 2012. The solution contains sharepoint projects and class librarys. Class libraries are referred in sharepoint project
I have changed the .net framework target version to 4.5 for all projects in solution . I am able to BUILD the sharepoint project successfully. However when I DEPLOY or PUBLISH(to create WSP), it fails with the message
The type or namespace name does not exist in the namespace (are you missing an assembly reference?)
What is going wrong here.. Anybody faced this issue before