When upgrading EF6, I get the default XML namespace of the project must be the MSBuild XML namespace

.net entity-framework entity-framework-6

Question

I am upgrading my EntityFramework from version 6.2.0 to 6.3.0 but during the upgrade I get the error:

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.

My .Net Framework is 4.5.2. Can someone help please? Thanks.

Please note I have seen all equivalent questions on Stackoverflow but they don't seem to help.

1
2
10/4/2019 11:36:24 PM

Accepted Answer

Unfortunately, EF 6.3 uses the new csproj format and requires VS 2017 and above. I degraded to EF 6.2 and it built fine. So for your case, please try with VS2017 or above to build the project.

3
10/9/2019 8:18:04 AM

Popular Answer

Entity Framework 6.3.0 still doesn't work, but 6.4.0 does.



Related Questions





Related

Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow
Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow