Click here to Skip to main content
14,448,694 members
Rate this:
Please Sign up or sign in to vote.
See more:
i start learning MVC. my pc not connect to internet.
installing EntityFramework and the other nuget package, sometimes is very dificult.
but after many tries for install package, another error will be appeare.
after install EntityFramework to my project,after close project, it don't load again.
this error will shown:

.csproj : 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="" 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. 


What I have tried:

try much

but not get result
Updated 5-Nov-19 22:51pm
Rate this:
Please Sign up or sign in to vote.

Solution 2

NuGet needs an internet connection to download packages, so try to connect to the internet first and then use the NuGet package manager in Visual Studio.

If you really can't get internet, try this:
Is there a way to download packages from then do an offline installation into Visual Studio? - Stack Overflow[^]
Rate this:
Please Sign up or sign in to vote.

Solution 1


Which version of visual studio you are using? Try to use VS2017 and check.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100