简体   繁体   中英

Is possible to install and use Entity Framework in Visual Studio Console/Windows application

I am going to create a application in c# .net to handle large data set(in millions). So i want to use Entity Framework here. But i don't know whether I can install and use Entity Framework in Console or Windows application because i don't want to use web applications. I am getting below error when trying to install EF in console application.

The default XML namespace of the project must be the MSBuild XML namespace. If the project is authored in the MSBuild 2003 format, please add xmlns="http://schemas.microsoft.com/developer/msbuild/2003" to the element. If the project has been authored in the old 1.0 or 1.2 format, please convert it to MSBuild 2003 format.

This is totally possible. But the best way is to have the data handling in a different class library and have the EF reference added to that instead in your console app project.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM