Hello folks,
when I load my SharePoint 2013 project all work fine, the project was build. But if I try to add some SharePoint item, for example an EventReceiver, or make some SharePoint operation in Visual Studio, for example retract or publish a solution, I receive the error:
Could not load file or assembly 'Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c' or one of its dependencies. The system cannot find the file specified.
after the error all works. And if I manually deploy with PowerShell the WSP all work fine.
I have SharePoint 2013 (version 15.0.0.0) in all reference and installed on my Visual Studio machine, I have tried to search in registry and I do not find any version 14.0.0.0 reference.
I have uninstalled Visual Studio 2012 with the problem and try to install Visual Sudio 2015 Enterprise but the error remain
Any idea?
LSo
LSo Lorenzo Soncini Trento TN - Italy