locked
Install EntityFrameWork error: "The default XML namespace of the project must be the MSBuild XML namespace...." RRS feed

  • Question

  • User-1651604128 posted

    Hi, I am using Visual Studio 2015 to develop a mvc web app, the EntityFrameWork version is 6.1.0 and I want to update it to 6.3.0 by install it from NuGet,

    but when I click Install from Nuget window, I got this error in my visual studio, can anybody help me how to fix it? thanks a lot,

    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 <Project> element.
    If the project has been authored in the old 1.0 or 1.2 format, please convert it to MSBuild 2003 format. 
    D:\Projects\Apps\packages\EntityFramework.6.3.0\build\EntityFramework.props 

    Thursday, October 3, 2019 11:48 AM

Answers

  • User475983607 posted

    I Googled the error.  EF 6.3 uses the new csproj format and requires VS 2017.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Thursday, October 3, 2019 11:57 AM