Yes it’s ridiculous but true, installing VS2013 on your SharePoint 2013 VM, will break SharePoint.
The symptoms you will see are like,
- Can’t save list items
- Can’t create new site collections (well actually it ends up creating orphan site collection records in SharePoint_Config, and no site collection in WSS_Content)
- CSOM and REST API break.
You can dig further in the logs, and you will see the following error,
Could not load file or assembly 'Microsoft.Data.Edm, Version=184.108.40.206, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies
I boogled and ginged and saw others having this issue too. Perhaps the funniest was this, one of the replies was,
So over SharePoint Software Development at this point! There has got to be a better way to make a living
Anyway, here is how to fix it,
Step #1: Download and Install WCF Data Services 3.0 for OData v3.
Step #2: Reboot your machine (IISReset will make it look like its working, but trust me, you want to reboot for this).
Step #3: SharePoint should be fixed now.
Though I am surprised at zero occurrences of this on the web until now – VS2013 was released quite a while ago. The only logical conclusion I can draw, hardly anyone is developing for SharePoint 2013 using VS2013, or you would have run into this. Also Apps are quite improved between VS2013 and VS2012, so apparently nobody’s using that part either.
Are you using VS2013 with SP2013?