I've installed VS 2015 (not the RC though I had that installed prior). I opened an existing solution that was working fine in VS 2013 and got the following error.
BC30652 Reference required to assembly 'System.Data.Entity, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' containing the type 'EntityObject'. Add one to your project.
I added a reference to System.Data.Entity in the project as VS suggested and it worked. However, I'm wondering why this happened.
If I remove System.Data.Entity reference, VS 2013 still works but VS 2015 throws errors. The project does have a reference to System.Data.
Notes about the solution:
I got confirmation from the Visual Basic language team that this is very likely due to a change in their compiler in Visual Studio 2015:
... we actually did work to try to make things more permissive. But the summary is that the compiler may require more references for correctness. Add them if you can. I believe there is a quick fix for it if you invoke the light bulb.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With