Our development team (and build servers) successfully use a mixture of Visual Studio 2010 and Visual Studio 2012 for our application.
However, since upgrading from EF5 to EF6, we no longer seem to be able to build with VS2010. Specifically, the build machines won't build at all. VS2010 on my desktop does seem to build, but I get the following errors:
Error 4 Error 10023: Could not find the conceptual model to validate.
Error 5 Error 10024: Could not find the storage model to validate.
Error 6 Error 10025: Could not find the mapping model to validate.
Edit:
Our build machines do not have .Net 4.5, our Desktop machines (due to IT policy) do have .Net 4.5. On the machines without 4.5, we also get the following, which prevent assembly generation.
Could not find the Conceptual Schema node to embed as a resource for input file
EF5 is built into the core of . NET 4.5, whereas EF6 has been shifted out, and is open source. This means that you must add the new EF6 assemblies to all of the relevant projects in the solution, in particular the entry project. This means that you must remove assembly System.
In this situation you can upgrade to EF5 using the following steps: Select Tools -> Library Package Manager -> Package Manager Console. Run Install-Package EntityFramework -version 5.0.
NET 4.6 based applications. Here, you will learn to install and use Entity Framework Core 2.0 in . NET Core applications using Visual Studio 2017.
You can use EF6 runtime with .NET Framework 4/Visual Studio 2010 however EF6 tooling does not support VS2010. EF tooling was updated to work with EF6 for VS2012 and VS2013. In other words on VS2010 and EF6 you can do CodeFirst but not ModelFirst/DatabaseFirst.
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