One thing to check is to determine if this link is required.
I had a 2012 solution with a .csproj file that contained a link to Microsoft.VisualStudio.ServiceModel.targets. I upgraded from VS 2012 to VS 2013. I had two machines, which I will call DESKTOP and LAPTOP. DESKTOP had VS 2012, and I installed VS 2013 too. Therefore, the following file existed, and I was able to compile my solution:
$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\WCF\Microsoft.VisualStudio.ServiceModel.targets
I did not have VS 2012 on LAPTOP. I installed 2013 from scratch and tried to get my solution (which is managed by the TFS source). I got the indicated error (VisualStudio.ServiceModel.targets does not exist ... confirm the declaration is correct).
Turns out I donโt even need this file. In my .csproj file on DESKTOP, I simply commented out an element and the solution was recompiled (including with passing unit tests). So I checked it in TFS from DESKTOP, got the latest LAPTOP code and compiled (and unit tests):
source share